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

git version control git at videolan.org
Mon Aug 11 21:48:11 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Aug 11 21:50:44 2008 +0200| [cef1653682e2b9b766f5b272bd5d180b44b976fa] | committer: Rémi Duraffort 

Fix memleak in Qt4 interface.

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

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

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index d296bef..dca2362 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -85,6 +85,9 @@ DialogsProvider::~DialogsProvider()
 #endif
 
     fixed_timer->stop();
+    delete menusMapper;
+    delete menusUpdateMapper;
+    delete SDMapper;
 }
 
 void DialogsProvider::quit()




More information about the vlc-devel mailing list