diff options
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c index 6f9b5278..57399c61 100644 --- a/src/index.c +++ b/src/index.c @@ -84,6 +84,8 @@ void cleanup_indexing(IndexingPrivate **priv) { int n = 0; + if ( priv == NULL ) return; /* Nothing to do */ + while ( priv[n] != NULL ) { switch ( priv[n]->indm ) { |