[vlc-devel] [PATCH 24/30] mkv: fixed used after free of matroska_segment_c::ep
Filip Roséen
filip at videolabs.io
Mon May 9 14:53:18 CEST 2016
---
modules/demux/mkv/matroska_segment.cpp | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index f65227f..dd2289f 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1067,11 +1067,6 @@ void matroska_segment_c::ESDestroy( )
track.p_es = NULL;
}
}
-
- /* TODO: we will leak, fix this!
- delete ep;
- ep = NULL;
- */
}
int matroska_segment_c::BlockGet( KaxBlock * & pp_block, KaxSimpleBlock * & pp_simpleblock, bool *pb_key_picture, bool *pb_discardable_picture, int64_t *pi_duration )
--
2.8.2
More information about the vlc-devel
mailing list