aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorKenneth Beyerlein <kenneth.beyerlein@desy.de>2014-01-17 14:35:08 +0100
committerThomas White <taw@physics.org>2014-01-21 11:08:59 +0100
commit0fbadb5e611c0a1d480f2bae1ed0cbd302e6a7e9 (patch)
tree60d65f78fbe0347fcd23a18d9e2a2bee9d4ca0d6 /libcrystfel/src
parentaff5385ebdeea53a7029e676378ff17a7ecf5eb4 (diff)
Properly free detector defaults panel
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/detector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index cc165a3e..2db7cfd2 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -1082,6 +1082,8 @@ void free_detector_geometry(struct detector *det)
rigid_groups_free(det);
+ free( det->defaults.clen_from );
+
for ( i=0; i<det->n_panels; i++ ) {
free(det->panels[i].clen_from);
}