[vlc-commits] demux: mkv: fix potential leak
Francois Cartegnie
git at videolan.org
Thu Jul 16 15:10:22 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul 15 20:10:41 2020 +0200| [a517348372d94280b7eff9d2be51328768cff402] | committer: Francois Cartegnie
demux: mkv: fix potential leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a517348372d94280b7eff9d2be51328768cff402
---
modules/demux/mkv/mkv.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index b7d8b3f95a..471de4134a 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -817,6 +817,7 @@ static int Demux( demux_t *p_demux)
if( es_out_SetPCR( p_demux->out, i_pcr ) )
{
msg_Err( p_demux, "ES_OUT_SET_PCR failed, aborting." );
+ delete block;
return VLC_DEMUXER_EGENERIC;
}
More information about the vlc-commits
mailing list