projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917d4c1
)
src/spectral/fft.c: add missing vDSP_destroy_fftsetup
author
Paul Brossier
<piem@piem.org>
Tue, 19 Nov 2013 19:46:46 +0000
(20:46 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 19 Nov 2013 19:46:46 +0000
(20:46 +0100)
src/spectral/fft.c
patch
|
blob
|
history
diff --git
a/src/spectral/fft.c
b/src/spectral/fft.c
index
88799f5
..
30d989a
100644
(file)
--- a/
src/spectral/fft.c
+++ b/
src/spectral/fft.c
@@
-191,6
+191,11
@@
void del_aubio_fft(aubio_fft_t * s) {
#ifdef HAVE_ACCELERATE // using ACCELERATE
AUBIO_FREE(s->spec.realp);
AUBIO_FREE(s->spec.imagp);
+#if !HAVE_AUBIO_DOUBLE
+ vDSP_destroy_fftsetup(s->fftSetup);
+#else
+ vDSP_destroy_fftsetupD(s->fftSetup);
+#endif
#else // using OOURA
AUBIO_FREE(s->w);
AUBIO_FREE(s->ip);