Commit e81263cd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[USF] return if calloc fails.

Close CID: 171
parent 38f8e29f
...@@ -643,7 +643,7 @@ static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader ) ...@@ -643,7 +643,7 @@ static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader )
if( ! p_style ) if( ! p_style )
{ {
free( psz_node ); free( psz_node );
break; return VLC_ENOMEM;
} }
/* All styles are supposed to default to Default, and then /* All styles are supposed to default to Default, and then
* one or more settings are over-ridden. * one or more settings are over-ridden.
......
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