[vlc-commits] gvp: fix memory leak (p_sys allocated twice)

Rémi Denis-Courmont git at videolan.org
Mon Nov 17 18:03:26 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 17 18:15:32 2014 +0200| [2a342fdec7358187c1c0ba002c033681d5234255] | committer: Rémi Denis-Courmont

gvp: fix memory leak (p_sys allocated twice)

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

 modules/demux/playlist/gvp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/playlist/gvp.c b/modules/demux/playlist/gvp.c
index 1b810de..8f14d5b 100644
--- a/modules/demux/playlist/gvp.c
+++ b/modules/demux/playlist/gvp.c
@@ -92,7 +92,7 @@ int Import_GVP( vlc_object_t *p_this )
 
     if( !b_found ) return VLC_EGENERIC;
 
-    STANDARD_DEMUX_INIT_MSG(  "using Google Video Playlist (gvp) import" );
+    msg_Dbg( p_this, "using Google Video Playlist (gvp) import" );
     p_demux->pf_control = Control;
     p_demux->pf_demux = Demux;
     p_demux->p_sys = malloc( sizeof( demux_sys_t ) );



More information about the vlc-commits mailing list