changeset 10803:15425a07e13f

minor leak fix
author alex
date Tue, 02 Sep 2003 20:02:37 +0000
parents 72896d23ab64
children 281a1b682ee0
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Tue Sep 02 17:44:38 2003 +0000
+++ b/libmpcodecs/dec_audio.c	Tue Sep 02 20:02:37 2003 +0000
@@ -257,6 +257,7 @@
     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){