diff options
author | Thomas White <taw@physics.org> | 2010-09-08 12:22:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:57 +0100 |
commit | c81d04eb776260f4499f3f3824bc5d02e42ef58c (patch) | |
tree | 83a57f955a65d65e5c65016662f5a7230cc5fe0d /src/indexamajig.c | |
parent | 9526f8c65df5fdb21247b57cd414c258375dc798 (diff) |
Fix unit cell point group memory leak
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 32fb9012..bfce345c 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -433,7 +433,7 @@ static struct process_result process_image(struct process_args *pargs) free(simage); /* Only free cell if found */ - free(image.indexed_cell); + cell_free(image.indexed_cell); done: free(image.data); @@ -865,7 +865,7 @@ int main(int argc, char *argv[]) free(prefix); free(det->panels); free(det); - free(cell); + cell_free(cell); fclose(fh); STATUS("There were %i images.\n", n_images); |