[vlc-devel] commit: Qt: fix a leak when exiting main interface (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jan 31 00:05:00 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 30 23:53:31 2010 +0100| [f58279982edb7bf8cdd8e8e1cf736c90b9d61639] | committer: Jean-Baptiste Kempf
Qt: fix a leak when exiting main interface
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f58279982edb7bf8cdd8e8e1cf736c90b9d61639
---
modules/gui/qt4/main_interface.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 5722ba5..d6e4d6e 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -347,6 +347,8 @@ MainInterface::~MainInterface()
QVLCTools::saveWidgetPosition(settings, this);
settings->endGroup();
+ delete statusBar();
+
/* Unregister callbacks */
var_DelCallback( p_intf->p_libvlc, "intf-show", IntfShowCB, p_intf );
var_DelCallback( p_intf->p_libvlc, "intf-popupmenu", PopupMenuCB, p_intf );
More information about the vlc-devel
mailing list