From: Jean-Baptiste Kempf Date: Fri, 26 Oct 2007 01:03:39 +0000 (+0000) Subject: Qt4 - should fix the double-free and the freezing on quit. Ref #1348 X-Git-Tag: 0.9.0-test0~4807 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3b6a320b107921cee152bc0c514ea87cb93c9420;p=vlc Qt4 - should fix the double-free and the freezing on quit. Ref #1348 --- diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index 1391c2f273..2a63696dab 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -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; } /*****************************************************************************