aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-14 17:17:02 -0700
committerThomas White <taw@physics.org>2012-02-22 15:26:50 +0100
commit9d397a6a1da81191e76688077bd694abf6ed5cd3 (patch)
treef5d7aeda84e0c204ac053c3a470dd2bf07c6b6f7 /src/pattern_sim.c
parent18cb33d0b9753eb9d0ef5eae31abc502e9ba1d27 (diff)
Fix memory leaks
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 1f12caa2..798e9c33 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -474,6 +474,8 @@ skip:
free(powder);
free(cell);
free(intensities);
+ free(outfile);
+ free(filename);
return 0;
}