[vlc-devel] commit: Remove a memleak in Qt4. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 31 10:44:00 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 31 10:45:14 2008 +0200| [af04bf606c21ff622359b0e04ff0e8933f13cf54]

Remove a memleak in Qt4.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af04bf606c21ff622359b0e04ff0e8933f13cf54
---

 modules/gui/qt4/qt4.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 7f9b106..76e642e 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;
 




More information about the vlc-devel mailing list