]> git.sesse.net Git - vlc/commitdiff
Qt: Fix Segfault when exiting on Windows 2000
authorMichael McEll <mapei_@hotmail.com>
Mon, 25 Jan 2010 00:20:08 +0000 (01:20 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Jan 2010 00:20:08 +0000 (01:20 +0100)
Initialize two handles even if createTaskBarButtons() is not called.
Otherwise vlc.exe will segfault at exit

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/main_interface.cpp

index 763d760b36fae974b471d307e6b547fb611b0d27..8f18735c49421c2e554506b90c4799d7de41a8d6 100644 (file)
@@ -169,6 +169,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
     MainInputManager::getInstance( p_intf );
 
 #ifdef WIN32
+    himl = NULL;
+    p_taskbl = NULL;
     taskbar_wmsg = RegisterWindowMessage("TaskbarButtonCreated");
 #endif