aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
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;
}