[MPlayer-dev-eng] [PATCH] to free_demuxer to avoid glibc "double free or corruption" crash

Mark James mrj at bigpond.net.au
Mon Aug 22 17:46:32 CEST 2005


Ivan Kalvachev wrote:

> Somehow I get feeling that your patch may cause memory leak. I haven't
> investigated.
> 
> I think Reimar had proposed an better patch in thread with subject
> "[PATCH] fix bug in free_demuxer".
> 
> Please test it.

Thanks Ivan for pointing this out. Reimar's patch
<http://mplayerhq.hu/pipermail/mplayer-dev-eng/2005-August/036344.html>
works for me.  I don't think my patch leaks -- the code executed under
my patch is essentially the same as under Reimar's. But while my patch
is minimalist, Reimar's patch gets to cut a chunk of code out of
demux_demuxers.c




More information about the MPlayer-dev-eng mailing list