diff options
Diffstat (limited to 'libcrystfel/src/indexers')
-rw-r--r-- | libcrystfel/src/indexers/fromfile.c | 10 | ||||
-rw-r--r-- | libcrystfel/src/indexers/fromfile.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c index d43b17c5..73cee547 100644 --- a/libcrystfel/src/indexers/fromfile.c +++ b/libcrystfel/src/indexers/fromfile.c @@ -365,3 +365,13 @@ int fromfile_index(struct image *image, void *mpriv, int crystal_number) return ncryst; } + + +void fromfile_cleanup(void *mpriv) +{ + struct fromfile_private *dp = mpriv; + + /* FIXME: Implementation */ + + free(dp); +} diff --git a/libcrystfel/src/indexers/fromfile.h b/libcrystfel/src/indexers/fromfile.h index b91f10ae..deb7b105 100644 --- a/libcrystfel/src/indexers/fromfile.h +++ b/libcrystfel/src/indexers/fromfile.h @@ -42,5 +42,7 @@ extern void *fromfile_prepare(char *solution_filename, UnitCell *cell); extern int fromfile_index(struct image *image, void *mpriv, int crystal_number); +extern void fromfile_cleanup(void *mpriv); + #endif /* FROMFILE_H */ |