aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-08-04 16:29:10 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:36 +0100
commit90cf9ea8c5ef81faca8e7328d03644feffa53211 (patch)
tree985f2fe5aa34c37b7a6bbf006aa8e0f477e6ef19 /src/index.c
parente30a51f72740d95e5468b6ac5a4ea64f4b38f1d0 (diff)
Re-use the same plan (only fftw_execute is thread safe)
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index 90013999..74a40e5d 100644
--- a/src/index.c
+++ b/src/index.c
@@ -104,7 +104,7 @@ void cleanup_indexing(IndexingPrivate **priv)
free(priv[n]);
break;
case INDEXING_REAX :
- free(priv[n]);
+ reax_cleanup(priv[n]);
break;
}