diff options
-rw-r--r-- | libmpcodecs/dec_audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index d8ac836030..a1835d80d2 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -257,6 +257,7 @@ void uninit_audio(sh_audio_t *sh_audio) if(sh_audio->afilter){ mp_msg(MSGT_DECAUDIO,MSGL_V,"Uninit audio filters...\n"); af_uninit(sh_audio->afilter); + free(sh_audio->afilter); sh_audio->afilter=NULL; } if(sh_audio->inited){ |