diff --git a/modules/codec/subtitles/subsusf.c b/modules/codec/subtitles/subsusf.c index b2467efe193232d2a611d0d6087544a2a761d455..6b21e12621dead0e9e38061793158583d8a8dc5b 100644 --- a/modules/codec/subtitles/subsusf.c +++ b/modules/codec/subtitles/subsusf.c @@ -643,7 +643,7 @@ static void ParseUSFHeaderTags( decoder_t *p_dec, xml_reader_t *p_xml_reader ) if( ! p_style ) { free( psz_node ); - return VLC_ENOMEM; + return; } /* All styles are supposed to default to Default, and then * one or more settings are over-ridden.