diff options
author | Thomas White <taw@physics.org> | 2019-01-22 15:54:01 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-01-22 15:54:01 +0100 |
commit | 3d50f6c2a29a7897016be2789af8c8116ade8bb5 (patch) | |
tree | e2b6e90ebd8a32ce200252a02273a03fef4fd8ef /libcrystfel/src/index.c | |
parent | 238da95f7607955ba85fe34f5850f62c6df704cc (diff) |
Fix some small memory leaks
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 06d57e52..f72334c4 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -349,8 +349,9 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, free(methods); return NULL; } - + free(method_strings[i]); } + free(method_strings); /* No cell parameters -> no cell checking, no prior cell */ if ( !cell_has_parameters(cell) ) { |