]> git.sesse.net Git - vlc/commitdiff
Remove a memleak in Qt4.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 31 Jul 2008 08:45:14 +0000 (10:45 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 31 Jul 2008 08:47:16 +0000 (10:47 +0200)
modules/gui/qt4/qt4.cpp

index 7f9b106a708f026935093daf3c637f72fdeeb29e..76e642efa3fd54d3880fc6fc59a6c91cb7e5296d 100644 (file)
@@ -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;