aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/index.c3
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) ) {