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

set_destructor has no need for the structure lock

parent d3d77668
......@@ -307,10 +307,7 @@ void __vlc_object_set_destructor( vlc_object_t *p_this,
vlc_destructor_t pf_destructor )
{
vlc_object_internals_t *p_priv = vlc_internals(p_this );
vlc_mutex_lock( &structure_lock );
p_priv->pf_destructor = pf_destructor;
vlc_mutex_unlock( &structure_lock );
}
/**
......
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