Commit 16c8c42c authored by Rémi Duraffort's avatar Rémi Duraffort

Don't unlock the playlist to lock it the next instruction.

parent 6cc9595d
...@@ -266,11 +266,12 @@ static void playlist_sd_item_removed( const vlc_event_t * p_event, void * user_d ...@@ -266,11 +266,12 @@ static void playlist_sd_item_removed( const vlc_event_t * p_event, void * user_d
vlc_object_unlock( p_parent->p_playlist ); vlc_object_unlock( p_parent->p_playlist );
return; return;
} }
vlc_object_unlock( p_parent->p_playlist );
/* Delete the non-node item normally */ /* Delete the non-node item normally */
playlist_DeleteInputInParent( p_parent->p_playlist, p_input->i_id, playlist_DeleteInputInParent( p_parent->p_playlist, p_input->i_id,
p_parent, false ); p_parent, true );
vlc_object_unlock( p_parent->p_playlist );
} }
int playlist_ServicesDiscoveryAdd( playlist_t *p_playlist, const char *psz_modules ) int playlist_ServicesDiscoveryAdd( playlist_t *p_playlist, const char *psz_modules )
......
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