[vlc-devel] [PATCH] demux: cdg: fix invalid free
Zhao Zhili
quinkblack at foxmail.com
Thu May 3 11:01:58 CEST 2018
---
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 2cbb17b..5e627bb 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.9.5
More information about the vlc-devel
mailing list