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 4955db9..a35bb7d 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 );