aboutsummaryrefslogtreecommitdiff
path: root/src/scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-09-10 16:48:31 +0200
committerThomas White <taw@physics.org>2018-09-10 16:48:31 +0200
commite8fa57ba93687fbd6841cb3a3d09c87037b5c713 (patch)
tree525fff0e4393a41021550ebdad33e53197b0a4cf /src/scaling.c
parent8063500c1458e71cc5530620681e5adfdda62fa5 (diff)
Make sure reflection contribution list gets freed
Diffstat (limited to 'src/scaling.c')
-rw-r--r--src/scaling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scaling.c b/src/scaling.c
index 21bd0db2..68456900 100644
--- a/src/scaling.c
+++ b/src/scaling.c
@@ -46,6 +46,7 @@
#include "cell.h"
#include "cell-utils.h"
#include "scaling.h"
+#include "reflist-utils.h"
struct scale_args
@@ -166,6 +167,7 @@ void scale_all(Crystal **crystals, int n_crystals, int nthreads, int scaleflags)
meanB /= n_crystals;
STATUS("Mean B = %e\n", meanB);
+ free_contribs(full);
reflist_free(full);
niter++;