From: RĂ©mi Duraffort Date: Thu, 31 Jul 2008 08:45:14 +0000 (+0200) Subject: Remove a memleak in Qt4. X-Git-Tag: 0.9.0-test3~123 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=af04bf606c21ff622359b0e04ff0e8933f13cf54;p=vlc Remove a memleak in Qt4. --- diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index 7f9b106a70..76e642efa3 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -426,6 +426,9 @@ static void Init( intf_thread_t *p_intf ) /* Destroy the MainInputManager */ MainInputManager::killInstance(); + /* Delete the configuration */ + delete p_intf->p_sys->mainSettings; + /* Delete the application */ delete app;