diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-05-30 06:42:15 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-05-30 06:42:15 -0700 |
commit | 90063123279d99825f76d0bb06feb7471e200bea (patch) | |
tree | 1b04c63b29a7582569330be2c9150118b775b5ce /src | |
parent | e21597e00215b04571d88bcfbc9f44ff15338feb (diff) |
Tidy up
Diffstat (limited to 'src')
-rw-r--r-- | src/process_image.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/process_image.c b/src/process_image.c index 65deace5..7e91de2d 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -183,9 +183,16 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, iargs->stream_peaks, iargs->stream_refls); for ( i=0; i<image.n_crystals; i++ ) { + cell_free(crystal_get_cell(image.crystals[i])); + reflist_free(crystal_get_reflections(image.crystals[i])); crystal_free(image.crystals[i]); } + for ( i=0; i<image.det->n_panels; i++ ) { + free(image.dp[i]); + free(image.bad[i]); + } + free(image.data); if ( image.flags != NULL ) free(image.flags); image_feature_list_free(image.features); |