aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-06-25 12:13:49 +0200
committerThomas White <taw@physics.org>2015-06-25 12:14:43 +0200
commit330fff9a164acc19d23dda7c65300bf927eed41e (patch)
treed3d10d47cfa8e2c65d05c5d90daec7be2cbd00a5 /libcrystfel/src/index.c
parentbfb2044c589bbc5dcf94450cbaca1acbef1033ea (diff)
Tidy up some small leaks and memory bugs
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index c3aef88e..2512414d 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -186,6 +186,9 @@ void cleanup_indexing(IndexingMethod *indms, IndexingPrivate **privs)
n++;
}
+
+ free(indms);
+ free(privs);
}