aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-01 19:00:01 -0700
committerThomas White <taw@physics.org>2013-06-01 19:00:01 -0700
commit3104cf229230151e8ca158144952d474f4b61aa3 (patch)
tree265cf4fc702109fd3a2066fa306a8d12203a7340 /src/process_image.c
parentc3ce11bc291eb890ec0061892534802e75e3c2c1 (diff)
Fix multiple small memory leaks
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 898e653f..6d214c33 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -184,6 +184,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
reflist_free(crystal_get_reflections(image.crystals[i]));
crystal_free(image.crystals[i]);
}
+ free(image.crystals);
for ( i=0; i<image.det->n_panels; i++ ) {
free(image.dp[i]);