1
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:
Rémi Denis-Courmont 2007-09-30 14:11:47 +00:00
parent e0784be1ce
commit 736981afb0

View File

@ -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;
}