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

Fix the same race condition as in

[19bd84c7]
parent b3c8d478
...@@ -722,8 +722,8 @@ void * vlc_object_get( int i_id ) ...@@ -722,8 +722,8 @@ void * vlc_object_get( int i_id )
else else
{ {
vlc_object_yield( pp_objects[i_middle] ); vlc_object_yield( pp_objects[i_middle] );
vlc_mutex_unlock( &structure_lock ); obj = pp_objects[i_middle];
return pp_objects[i_middle]; 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