Commit c2538e26 authored by Rémi Duraffort's avatar Rémi Duraffort

demux_podcast: fix potential segfault (introduced by previous cleanups).

parent 410c46d3
...@@ -383,7 +383,8 @@ error: ...@@ -383,7 +383,8 @@ error:
if( p_xml_reader ) if( p_xml_reader )
xml_ReaderDelete( p_xml, p_xml_reader ); xml_ReaderDelete( p_xml, p_xml_reader );
xml_Delete( p_xml ); if( p_xml )
xml_Delete( p_xml );
HANDLE_PLAY_AND_RELEASE; HANDLE_PLAY_AND_RELEASE;
return -1; return -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