From af04bf606c21ff622359b0e04ff0e8933f13cf54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Thu, 31 Jul 2008 10:45:14 +0200 Subject: [PATCH] Remove a memleak in Qt4. --- modules/gui/qt4/qt4.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2