aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pattern_sim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index a53472ff..f60319a6 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -247,7 +247,6 @@ int main(int argc, char *argv[])
char *grad_str = NULL;
char *outfile = NULL;
char *geometry = NULL;
- char *beamfile = NULL;
char *spectrum_str = NULL;
GradientMethod grad;
SpectrumType spectrum_type;
@@ -615,7 +614,6 @@ int main(int argc, char *argv[])
image.lambda = wl;
image.bw = bandwidth;
image.nsamples = nsamples;
- free(beamfile);
/* Load unit cell */
input_cell = load_cell_from_file(filename);