aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-11 14:47:59 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:02 +0100
commit30ec3665f1b79b314aecbe3a8f5afbfcf3adfa99 (patch)
treef1028531eeaacf895405dea2ca336e215dcc08c8 /src/index.c
parenta22d0dc84c4411ca1b4583ac7857d5301c690f7c (diff)
Tidy up memory leaks
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 2 insertions, 0 deletions
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);