Commit dc6e8ce3 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Revert "mkv/demux: Ebml_Parser: fix #18001 (memory-leak)"

This reverts commit 37fdb03a.

This is not the right level to decide if you can free the previous element, you
need at least to respect the "Keep" status.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent b26e21f6
......@@ -250,8 +250,6 @@ EbmlElement *EbmlParser::Get( int n_call )
delete m_el[mi_level];
delete p_prev;
m_el[mi_level] = NULL;
m_el[mi_level - 1]->SkipData( *m_es, EBML_CONTEXT(m_el[mi_level - 1]) );
return Get();
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