aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-09 23:04:44 -0800
committerThomas White <taw@physics.org>2013-02-09 23:04:56 -0800
commit55fdffb8a4f92b9b2d1c3c067b43119ce394b5db (patch)
tree6c85a4e1c9c84f05d6cd522c0e8cee3ee1ed78b8 /libcrystfel/src/mosflm.c
parent00d4c6ce684b1352d585a287f8ef31c1c30a7c35 (diff)
Add cleanup functions for DirAx and MOSFLM
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r--libcrystfel/src/mosflm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index f4f45d40..7c3a12b4 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -753,3 +753,11 @@ IndexingPrivate *mosflm_prepare(IndexingMethod indm, UnitCell *cell,
return (IndexingPrivate *)mp;
}
+
+
+void mosflm_cleanup(IndexingPrivate *pp)
+{
+ struct mosflm_private *p;
+ p = (struct mosflm_private *)pp;
+ free(p);
+}