diff options
author | Thomas White <taw@physics.org> | 2016-10-06 11:56:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-10-06 12:00:34 +0200 |
commit | eb9010df9526234cc1cc357e9f97e37f612de261 (patch) | |
tree | bb45f15aa8bb9d564e84bcfd94c4d5fdc39acfd8 | |
parent | 9ed0d8a44a4448c69967246c2844272dcb47290f (diff) |
pattern_sim: Free stuff at end
-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); |