Commit eed767fc authored by Boris Egorov's avatar Boris Egorov Committed by Jean-Baptiste Kempf

ttml: Do not use deallocated pointer

Signed-off-by: default avatarBoris Egorov <egorov@linux.com>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 983d64cc
......@@ -309,8 +309,8 @@ static void ParseTTMLStyle( decoder_t *p_dec, xml_reader_t* p_reader )
}
if ( p_ttml_style->psz_styleid == NULL )
{
free( p_ttml_style );
free( p_ttml_style->font_style->psz_fontname );
free( p_ttml_style );
return ;
}
......
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