vlc | branch: master | Zhao Zhili <[email protected]> | Thu May  3 
17:01:58 2018 +0800| [351d907cfd51a686b487a1e646b51e08514dd4a8] | committer: 
Hugo Beauzée-Luyssen

demux: cdg: fix invalid free

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=351d907cfd51a686b487a1e646b51e08514dd4a8
---

 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;
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to