Commit b0e0b794 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix unlikely lock leak

parent 0d37c5b1
......@@ -932,6 +932,7 @@ vlc_list_t * __vlc_list_find( vlc_object_t *p_this, int i_type, int i_mode )
/* Check allocation was successful */
if( p_list->i_count != i_count )
{
vlc_mutex_unlock( &structure_lock );
msg_Err( p_this, "list allocation failed!" );
p_list->i_count = 0;
break;
......
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