[vlc-devel] commit: Qt: don't leak the FSC on exit. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Feb 11 04:17:09 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 11 04:15:48 2009 +0100| [3694dd181dbfb731ad5d0185a5894f008e1e2938] | committer: Jean-Baptiste Kempf
Qt: don't leak the FSC on exit.
This should really be a singleton or at least not built when you play only audio.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3694dd181dbfb731ad5d0185a5894f008e1e2938
---
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 4955db9..a35bb7d 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -278,6 +278,8 @@ MainInterface::~MainInterface()
ActionsManager::killInstance();
+ if( fullscreenControls ) delete fullscreenControls;
+
settings->beginGroup( "MainWindow" );
settings->setValue( "pl-dock-status", (int)i_pl_dock );
More information about the vlc-devel
mailing list