[MPlayer-dev-eng] memory leak because of missing demux_close_asf()

Guillaume POIRIER poirierg at gmail.com
Sun Aug 20 20:21:31 CEST 2006


Hi,

On 8/20/06, Burkhard Fischer <b.fi2 at web.de> wrote:
> Hi,
>
> I discovered a memory leak with ASF file format when running in loop mode.
>
> valgrind gave some hints that in asf_check_header the allocated "struct
> asf_priv* asf" is not freed.
>
> Here is my patch (MPlayer-1.0pre8):

Please provide a patch against latest SVN. (maybe it's the same code
as pre8, but anyhow you need to check that...)

Also, please do not add some cosmetics (i.e. add empty newlines and stuff...)

Guillaume
-- 
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde



More information about the MPlayer-dev-eng mailing list