diff options
author | Thomas White <taw@physics.org> | 2014-10-22 17:50:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-10-23 17:02:32 +0200 |
commit | 1a37de5cce5c2df83e37fb189409659299594b1b (patch) | |
tree | deb3e7c3b8b661c07aa2a4a4a663c97081d63b05 /src/indexamajig.c | |
parent | 8bdd03533aefabfe13259eb6e9b585420b4ed984 (diff) |
Fix a load of memory leaks
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index b139f299..cb4ee084 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -679,6 +679,8 @@ int main(int argc, char *argv[]) free(prefix); free(tempdir); free_detector_geometry(iargs.det); + close_stream(st); + cleanup_indexing(indm, ipriv); return 0; } |