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

vlc_object_get() sucks badly enough, no need to add more bugs

parent b0e0b794
......@@ -648,10 +648,12 @@ void * vlc_object_get( int i_id )
if( obj->i_object_id == i_id )
{
vlc_object_yield( obj );
return obj;
goto out;
}
}
obj = NULL;
out:
vlc_mutex_unlock( &structure_lock );
return obj;
}
......
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