aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-22 16:34:39 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:06 +0100
commit36bd8dc1ac224a62b9a38dcaf0fdfc3ab104c84f (patch)
tree4e784f761a105be892b9733e975d2c49a214b67c /src
parentdb4b4370b759dff84ec0737dcefa1d61364135c0 (diff)
facetron: Fix fclose() crash bug
Diffstat (limited to 'src')
-rw-r--r--src/facetron.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/facetron.c b/src/facetron.c
index c3cfcfab..dd82256a 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -523,7 +523,8 @@ int main(int argc, char *argv[])
estimate_full(images, n_total_patterns, det, sym, obs, i_full,
cts, nthreads);
- fclose(fh);
+ fclose(fhg);
+ fclose(fhp);
}
/* Output results */