aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-04-11 17:02:47 +0200
committerThomas White <taw@physics.org>2013-04-11 17:02:47 +0200
commit2daf2a8fa448b22706ac67718084b88dcb6f613b (patch)
tree83783c07f4c332e5748bef010f9ea72d8dd08318 /src
parent3370cfe58ce32e67a092c7c3d130232410178088 (diff)
check_hkl: Free stuff
Diffstat (limited to 'src')
-rw-r--r--src/check_hkl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/check_hkl.c b/src/check_hkl.c
index 5aa9874d..a0acadb6 100644
--- a/src/check_hkl.c
+++ b/src/check_hkl.c
@@ -477,6 +477,7 @@ int main(int argc, char *argv[])
ERROR("Couldn't read file '%s'\n", file);
return 1;
}
+ free(file);
/* Check that the intensities have the correct symmetry */
if ( check_list_symmetry(raw_list, sym) ) {
@@ -514,8 +515,13 @@ int main(int argc, char *argv[])
}
STATUS("Discarded %i reflections (out of %i) with I/sigma(I) < %f\n",
rej, num_reflections(raw_list), sigma_cutoff);
+ reflist_free(raw_list);
plot_shells(list, cell, sym, rmin_fix, rmax_fix, nshells);
+ free_symoplist(sym);
+ reflist_free(list);
+ cell_free(cell);
+
return 0;
}