[vlc-devel] [PATCH] demux:mkv: fix double free introduced
Steve Lhomme
robux4 at videolabs.io
Mon Nov 27 17:31:36 CET 2017
Introduced by e527210321013fd477673c36c472e3ca9a2a9fff.
There is a local parser, we don't need to free it. Instead it freed an upper one.
---
modules/demux/mkv/matroska_segment.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 52be3711c7..bca4f68571 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -327,7 +327,6 @@ bool matroska_segment_c::ParseSimpleTags( SimpleTag* pout_simple, KaxTagSimple *
catch(...)
{
msg_Err( &sys.demuxer, "Error while reading Tag ");
- delete ep;
return false;
}
--
2.14.2
More information about the vlc-devel
mailing list