From 55fdffb8a4f92b9b2d1c3c067b43119ce394b5db Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 9 Feb 2013 23:04:44 -0800 Subject: Add cleanup functions for DirAx and MOSFLM --- libcrystfel/src/mosflm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libcrystfel/src/mosflm.c') 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); +} -- cgit v1.2.3