aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-06-26 15:49:11 +0200
committerThomas White <taw@physics.org>2015-06-26 15:50:02 +0200
commitf7c2002c8a2fcc59fee9b6390ccec6830f118386 (patch)
treefb863bcca33b4a3b48f0346123182b9a535a0dce /libcrystfel
parent2d895c0b05a7bb35063a7efbd0ab20b5be720967 (diff)
Free crystal notes
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/crystal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/crystal.c b/libcrystfel/src/crystal.c
index 0c707331..dc2b28fb 100644
--- a/libcrystfel/src/crystal.c
+++ b/libcrystfel/src/crystal.c
@@ -139,6 +139,7 @@ Crystal *crystal_copy(Crystal *cryst)
void crystal_free(Crystal *cryst)
{
if ( cryst == NULL ) return;
+ free(cryst->notes);
free(cryst);
}