diff options
author | Thomas White <taw@physics.org> | 2019-01-25 09:31:34 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-01-28 14:55:31 +0100 |
commit | 9b1d07ba6ed79d2b32b1e8fa92bd93628f66b1c0 (patch) | |
tree | 12f43425f32555c4c0145b5fba1465302d2398d3 /libcrystfel/src/reflist.c | |
parent | 9d7a9223c780ff9ce75fa4ccac2321a011ae640b (diff) |
partialator: Fix multiple memory leaks
Diffstat (limited to 'libcrystfel/src/reflist.c')
-rw-r--r-- | libcrystfel/src/reflist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/reflist.c b/libcrystfel/src/reflist.c index f1d759ea..9c8a6a14 100644 --- a/libcrystfel/src/reflist.c +++ b/libcrystfel/src/reflist.c @@ -233,6 +233,7 @@ void reflist_free(RefList *list) if ( list->head != NULL ) { recursive_free(list->head); } /* else empty list */ + if ( list->notes != NULL ) free(list->notes); free(list); } |