Commit 55ea9b1e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: DOMParser: FIxing memory leak.

This also prevents VLC to abort at exit.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4a762212
......@@ -40,6 +40,8 @@ DOMParser::~DOMParser ()
{
if(this->vlc_reader)
xml_ReaderDelete(this->vlc_reader);
if ( this->vlc_xml )
xml_Delete( this->vlc_xml );
}
Node* DOMParser::getRootNode ()
......
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