]> git.sesse.net Git - vlc/commitdiff
Be sure to initialize the p_mi pointer to NULL.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 11 Aug 2008 16:51:07 +0000 (09:51 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 11 Aug 2008 16:52:46 +0000 (09:52 -0700)
modules/gui/qt4/qt4.cpp

index c2499215a4ef6f259f5796c32ecc7b6b437802a1..89b223624a715f8e15877ee0c7b19ae79e170eaf 100644 (file)
@@ -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 );