From 30ec3665f1b79b314aecbe3a8f5afbfcf3adfa99 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 11 Oct 2010 14:47:59 +0200 Subject: Tidy up memory leaks --- src/index.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index c01412ed..97cf3887 100644 --- a/src/index.c +++ b/src/index.c @@ -60,8 +60,10 @@ void cleanup_indexing(IndexingPrivate *priv) { switch ( priv->indm ) { case INDEXING_NONE : + free(priv); break; case INDEXING_DIRAX : + free(priv); break; case INDEXING_TEMPLATE : free_templates(priv); -- cgit v1.2.3