Fix the test for gcc version >= 4.6 to work for gcc 5 and up.
[opus.git] / celt / kiss_fft.c
index b14f66b..f6b9094 100644 (file)
@@ -576,7 +576,6 @@ kiss_fft_state *opus_fft_alloc_twiddles(int nfft,void * mem,size_t * lenmem,  co
         }
         if (!kf_factor(nfft,st->factors))
         {
-           opus_fft_free(st);
            goto fail;
         }