[Mplayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.26,1.27
Arpi
arpi at thot.banki.hu
Wed Sep 3 00:17:15 CEST 2003
Hi,
> retrieving revision 1.27
> diff -u -r1.26 -r1.27
> --- dec_audio.c 22 Aug 2003 22:17:47 -0000 1.26
> +++ dec_audio.c 2 Sep 2003 20:02:37 -0000 1.27
> @@ -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;
are you sure this is ok?
afair libaf;'s af_uninit() already free's all that up
so this woudl result a double free which is worse than a memleak
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog
mailing list