aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.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/index.c
parent00d4c6ce684b1352d585a287f8ef31c1c30a7c35 (diff)
Add cleanup functions for DirAx and MOSFLM
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index cb3639e4..28f33388 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -109,10 +109,14 @@ void cleanup_indexing(IndexingMethod *indms, IndexingPrivate **privs)
switch ( indms[n] & INDEXING_METHOD_MASK ) {
case INDEXING_NONE :
+ break;
+
case INDEXING_DIRAX :
+ dirax_cleanup(privs[n]);
+ break;
+
case INDEXING_MOSFLM :
- /* No cleanup */
- /* FIXME: Not true */
+ mosflm_cleanup(privs[n]);
break;
case INDEXING_REAX :