]> git.sesse.net Git - vlc/commitdiff
Qt: don't leak the FSC on exit.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:15:48 +0000 (04:15 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:16:52 +0000 (04:16 +0100)
This should really be a singleton or at least not built when you play only audio.

modules/gui/qt4/main_interface.cpp

index 4955db9815485d7b7e832dff6c7ae7cde31a8a97..a35bb7d2d85266f6c937d5ea4eb4bddaa8e0bc35 100644 (file)
@@ -278,6 +278,8 @@ MainInterface::~MainInterface()
 
     ActionsManager::killInstance();
 
+    if( fullscreenControls ) delete fullscreenControls;
+
     settings->beginGroup( "MainWindow" );
 
     settings->setValue( "pl-dock-status", (int)i_pl_dock );