]> git.sesse.net Git - vlc/commitdiff
Qt4 - should fix the double-free and the freezing on quit. Ref #1348
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 26 Oct 2007 01:03:39 +0000 (01:03 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 26 Oct 2007 01:03:39 +0000 (01:03 +0000)
modules/gui/qt4/qt4.cpp

index 1391c2f27366862729c7c52dcec57c2cf2b21613..2a63696dab7c4c281dc4930fe0c8c0b1f6e1bcad 100644 (file)
@@ -285,12 +285,12 @@ static void Init( intf_thread_t *p_intf )
 
     /* Launch */
     app->exec();
-    delete app;
 
     /* And quit */
     MainInputManager::killInstance();
     DialogsProvider::killInstance();
     delete p_intf->p_sys->p_mi;
+    delete app;
 }
 
 /*****************************************************************************