From 351d907cfd51a686b487a1e646b51e08514dd4a8 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Thu, 3 May 2018 17:01:58 +0800 Subject: [PATCH] demux: cdg: fix invalid free MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Hugo Beauzée-Luyssen --- modules/demux/cdg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/cdg.c b/modules/demux/cdg.c index 2cbb17b8c3..5e627bb48d 100644 --- a/modules/demux/cdg.c +++ b/modules/demux/cdg.c @@ -148,7 +148,7 @@ static int Demux( demux_t *p_demux ) if( p_sys->p_es ) es_out_Send( p_demux->out, p_sys->p_es, p_block ); else - block_Release( p_sys->p_es ); + block_Release( p_block ); return VLC_DEMUXER_SUCCESS; } -- 2.11.4.GIT