]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.cpp
Remove a memleak in Qt4.
[vlc] / 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;