Qt: don't leak the FSC on exit.
[vlc.git] / 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 );