Commit 82f53048 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* src/playlist/playlist.c: Don't touch object_lock vlc_object_create and...

* src/playlist/playlist.c: Don't touch object_lock vlc_object_create and vlc_object_destroy already take care of it.
parent 8502c978
......@@ -165,8 +165,6 @@ playlist_t * __playlist_Create ( vlc_object_t *p_parent )
p_playlist->p_preparse->i_waiting = 0;
p_playlist->p_preparse->pp_waiting = NULL;
vlc_mutex_init( p_playlist->p_preparse,
&p_playlist->p_preparse->object_lock );
vlc_object_attach( p_playlist->p_preparse, p_playlist );
if( vlc_thread_create( p_playlist->p_preparse, "preparser",
......@@ -207,8 +205,6 @@ int playlist_Destroy( playlist_t * p_playlist )
vlc_object_detach( p_playlist->p_preparse );
vlc_mutex_destroy( &p_playlist->p_preparse->object_lock );
var_Destroy( p_playlist, "intf-change" );
var_Destroy( p_playlist, "item-change" );
var_Destroy( p_playlist, "playlist-current" );
......
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