Skip to content
Snippets Groups Projects
Commit d062c4a5 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Only free state once in kiss-fft failed init path

parent e6a4ece7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment