diff options
author | Thomas White <taw@physics.org> | 2019-01-29 16:37:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-01-29 16:37:47 +0100 |
commit | 83b4dbe4a0146da76fbb69fde213176d44e1a2ae (patch) | |
tree | 67e6138f4fda6ca17922e5e123ffeba4cd11ee1e /libcrystfel/src/xgandalf.c | |
parent | a2c2df1885ea9d078ee8ad712d46c0a0392949e2 (diff) |
Fix a couple of memory leaks
Diffstat (limited to 'libcrystfel/src/xgandalf.c')
-rw-r--r-- | libcrystfel/src/xgandalf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/xgandalf.c b/libcrystfel/src/xgandalf.c index 2434ce2e..5f31df33 100644 --- a/libcrystfel/src/xgandalf.c +++ b/libcrystfel/src/xgandalf.c @@ -253,6 +253,7 @@ void xgandalf_cleanup(void *pp) if(xgandalf_private_data->uncenteringTransformation != NULL){ tfn_free(xgandalf_private_data->uncenteringTransformation); } + free(xgandalf_private_data); } static void reduceCell(UnitCell *cell, LatticeTransform_t* appliedReductionTransform) |