Commit b9944ced authored by Simon Morlat's avatar Simon Morlat
Browse files

fix small memory leak in opus

parent 7f97a5c7
......@@ -722,6 +722,8 @@ static void ms_opus_dec_postprocess(MSFilter *f) {
ms_message("opus decoder stats: fec %d packets - plc %d packets.", d->statsfec, d->statsplc);
opus_decoder_destroy(d->state);
d->state = NULL;
ms_concealer_context_destroy(d->concealer);
d->concealer=NULL;
}
static void ms_opus_dec_uninit(MSFilter *f) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment