We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ed9d5 commit c5aaa2cCopy full SHA for c5aaa2c
src/denoise.c
@@ -281,7 +281,7 @@ DenoiseState *rnnoise_create(RNNModel *model) {
281
}
282
283
void rnnoise_destroy(DenoiseState *st) {
284
- opus_fft_free(common.kfft, 0);
+ if (common.init) opus_fft_free(common.kfft, 0);
285
free(st->rnn.vad_gru_state);
286
free(st->rnn.noise_gru_state);
287
free(st->rnn.denoise_gru_state);
0 commit comments