qt4 fullscreen: releases the vout
[vlc.git] / modules / gui / qt4 / components / interface_widgets.cpp
index 8d5b96d..de481e4 100644 (file)
@@ -610,6 +610,7 @@ void ControlsWidget::fullscreen()
     if( p_vout)
     {
         var_SetBool( p_vout, "fullscreen", !var_GetBool( p_vout, "fullscreen" ) );
+        vlc_object_release( p_vout );
     }
 }