Commit 4d844df2 authored by Mario Speiß's avatar Mario Speiß Committed by Jean-Baptiste Kempf

Qt: release vout in controller configuration widget

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 815c2f48
...@@ -298,7 +298,8 @@ void AspectRatioComboBox::updateAspectRatio( int x ) ...@@ -298,7 +298,8 @@ void AspectRatioComboBox::updateAspectRatio( int x )
if( p_vout && x >= 0 ) if( p_vout && x >= 0 )
{ {
var_SetString( p_vout, "aspect-ratio", qtu( itemData(x).toString() ) ); var_SetString( p_vout, "aspect-ratio", qtu( itemData(x).toString() ) );
vlc_object_release( p_vout );
} }
if( p_vout )
vlc_object_release( p_vout );
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment