[vlc-devel] commit: Fix memleak (Christophe Mutricy )
Karoly Gossler
listak at connor.hu
Sat Nov 22 18:25:57 CET 2008
Hello,
Inadvertence.
git version control írta:
> vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sat Nov 22 16:33:07 2008 +0000| [d95eef28a329c5da0274f2833c7c10861d48c4bc] | committer: Christophe Mutricy
>
> Fix memleak
>
> Closes #2300
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d95eef28a329c5da0274f2833c7c10861d48c4bc
> ---
>
> modules/demux/subtitle.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
> index 4df7ec0..e3df463 100644
> --- a/modules/demux/subtitle.c
> +++ b/modules/demux/subtitle.c
> @@ -2024,6 +2024,7 @@ static int ParseSubViewer1( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx
>
> s = TextGetLine( txt );
> if( !s )
{
> + free( psz_text );
> return VLC_EGENERIC;
}
>
> if( sscanf( s, "[%d:%d:%d]", &h2, &m2, &s2 ) == 3 )
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
--
connnor
More information about the vlc-devel
mailing list