mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Fix tiny race condition
This commit is contained in:
parent
e0784be1ce
commit
736981afb0
@ -116,8 +116,8 @@ osd_menu_t *__osd_MenuCreate( vlc_object_t *p_this, const char *psz_file )
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
msg_Err( p_this, "creating OSD menu object failed" );
|
msg_Err( p_this, "creating OSD menu object failed" );
|
||||||
vlc_mutex_unlock( lockval.p_address );
|
|
||||||
vlc_object_destroy( p_osd );
|
vlc_object_destroy( p_osd );
|
||||||
|
vlc_mutex_unlock( lockval.p_address );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user