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

addons: remove useless lock/unlock

p_finder is not visible to other threads at this point.
parent a3769dc4
......@@ -347,9 +347,7 @@ static void *FinderThread( void *p_data )
p_finder->i_flags |= OBJECT_FLAGS_NOINTERACT;
module_t *p_module;
ARRAY_INIT( p_finder->entries );
vlc_mutex_lock( &p_manager->p_priv->finder.lock );
p_finder->psz_uri = psz_uri;
vlc_mutex_unlock( &p_manager->p_priv->finder.lock );
p_module = module_need( p_finder, "addons finder", NULL, false );
if( p_module )
......
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