diff options
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index d111091b..cea3d004 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -933,8 +933,11 @@ skip: } for ( i=0; i<image.det->n_panels; i++ ) { + free(image.dp[i]); free(powder.dp[i]); } + free(image.dp); + free(powder.dp); free(intfile); free(image.det); cell_free(input_cell); |