diff options
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 54d9ab88..e2f80b02 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -363,5 +363,10 @@ skip: cleanup_gpu(gctx); } + free(image.det.panels); + free(powder); + free(image.molecule->reflections); + free(image.molecule); + return 0; } |