aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-29 18:24:02 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:04 +0100
commit4e2223f6ec7a20ce74c2fbf4ae317479c9a4d8f4 (patch)
treee3de46affcf8e7c0db7cc7f719b2840daa315ee4 /src
parentd16690a8e760d3cbe9a1285b6f6a8f4a0e8e727d (diff)
facetron: Fix previous commit
Diffstat (limited to 'src')
-rw-r--r--src/facetron.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/facetron.c b/src/facetron.c
index 9bd518cf..aec1072a 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -230,8 +230,6 @@ static void estimate_full(struct image *images, int n_total_patterns,
set_intensity(i_full, it->h, it->k, it->l, total);
}
-
- free(cts);
}
@@ -465,6 +463,7 @@ int main(int argc, char *argv[])
free(outfile);
free(det->panels);
free(det);
+ free(cts);
for ( i=0; i<n_total_patterns; i++ ) {
cell_free(images[i].indexed_cell);
free(images[i].filename);