Commit 9be86469 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Derk-Jan Hartman

Fix memleak (CID 212)

(cherry picked from commit 19bca43e)
parent 4e36d3b5
......@@ -1348,7 +1348,10 @@ static int ParseAQT( demux_t *p_demux, subtitle_t *p_subtitle, int i_idx )
const char *s = TextGetLine( txt );
if( !s )
{
free( psz_text );
return VLC_EGENERIC;
}
/* Data Lines */
if( sscanf (s, "-->> %d", &t) == 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment