diff options
author | Thomas White <taw@physics.org> | 2015-06-25 12:13:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-06-25 12:14:43 +0200 |
commit | 330fff9a164acc19d23dda7c65300bf927eed41e (patch) | |
tree | d3d10d47cfa8e2c65d05c5d90daec7be2cbd00a5 /libcrystfel/src/cell-utils.c | |
parent | bfb2044c589bbc5dcf94450cbaca1acbef1033ea (diff) |
Tidy up some small leaks and memory bugs
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r-- | libcrystfel/src/cell-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index 764646dd..3b3c5fe3 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -1348,6 +1348,8 @@ UnitCell *load_cell_from_file(const char *filename) } while ( rval != NULL ); + fclose(fh); + if ( have_a && have_b && have_c && have_al && have_be && have_ga ) { cell_set_parameters(cell, a, b, c, al, be, ga); } |