Commit 33a0f4dd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

osd: Make sure we release properly in __osd_Volume.

parent 6224fcbc
...@@ -706,9 +706,9 @@ void __osd_Volume( vlc_object_t *p_this ) ...@@ -706,9 +706,9 @@ void __osd_Volume( vlc_object_t *p_this )
osd_SetMenuUpdate( p_osd, true ); osd_SetMenuUpdate( p_osd, true );
osd_SetMenuVisible( p_osd, true ); osd_SetMenuVisible( p_osd, true );
} }
vlc_object_release( (vlc_object_t*) p_osd );
vlc_mutex_unlock( lockval.p_address ); vlc_mutex_unlock( lockval.p_address );
} }
vlc_object_release( p_osd );
} }
osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y, osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y,
......
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