[vlc-commits] mkv: fix memory leak
Rémi Duraffort
git at videolan.org
Sun Dec 15 22:03:30 CET 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Dec 14 10:13:48 2013 +0100| [fb0c517c4a56df2375a32cd999f99aa0dada8e0a] | committer: Rémi Duraffort
mkv: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb0c517c4a56df2375a32cd999f99aa0dada8e0a
---
modules/demux/mkv/matroska_segment_parse.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 9d1aa97..ea2109c 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1769,6 +1769,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
}
else
{
+ free( psz_buf );
msg_Warn( &sys.demuxer, "reading original frame size for vobsub failed" );
return 1;
}
More information about the vlc-commits
mailing list