[MPlayer-dev-eng] [PATCH] fix memleak in mencoder.c

Diego Biurrun diego at biurrun.de
Sat May 3 17:45:35 CEST 2008


On Sat, May 03, 2008 at 08:14:29AM -0700, Pascal Massimino wrote:
> 
>     get_path()'s returned string needed to be freed.
>    Patch attached.
> 
> --- mencoder.c	2008-05-03 07:32:05.139828000 -0700
> +++ mencoder.c	2008-05-03 07:32:05.143824000 -0700
> @@ -546,9 +546,13 @@
>         if(!vo_font)
> -       vo_font=read_font_desc(MPLAYER_DATADIR "/font/font.desc",font_factor,verbose>1);
> +         vo_font=read_font_desc(MPLAYER_DATADIR "/font/font.desc",font_factor,verbose>1);

This is an unrelated indentation fix.  I have committed it separately.

Diego



More information about the MPlayer-dev-eng mailing list