[vlc-devel] commit: Be sure to initialize the p_mi pointer to NULL. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 11 18:49:56 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 11 09:51:07 2008 -0700| [32efe6b4cd5ff0f3a2cf4588a10beb6cc9d7a7e6] | committer: Jean-Baptiste Kempf 

Be sure to initialize the p_mi pointer to NULL.

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

 modules/gui/qt4/qt4.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index c249921..89b2236 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -239,6 +239,7 @@ static int Open( vlc_object_t *p_this )
     memset( p_intf->p_sys, 0, sizeof( intf_sys_t ) );
 
     p_intf->pf_run = Run;
+    p_intf->p_sys->p_mi = NULL;
 
     /* Access to the playlist */
     p_intf->p_sys->p_playlist = pl_Yield( p_intf );




More information about the vlc-devel mailing list