mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +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:
|
||||
msg_Err( p_this, "creating OSD menu object failed" );
|
||||
vlc_mutex_unlock( lockval.p_address );
|
||||
vlc_object_destroy( p_osd );
|
||||
vlc_mutex_unlock( lockval.p_address );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user