Commit 3a4de92b authored by Antoine Cellerier's avatar Antoine Cellerier

Oops, sed isn't always enough.

parent 96654042
...@@ -155,7 +155,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this ) ...@@ -155,7 +155,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this )
return NULL; return NULL;
} }
vlc_mutex_init( &p_vlm->lock );
vlc_mutex_init( &p_vlm->lock ); vlc_mutex_init( &p_vlm->lock );
vlc_cond_init_daytime( &p_vlm->wait ); vlc_cond_init_daytime( &p_vlm->wait );
p_vlm->i_id = 1; p_vlm->i_id = 1;
...@@ -170,7 +169,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this ) ...@@ -170,7 +169,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this )
{ {
vlc_cond_destroy( &p_vlm->wait ); vlc_cond_destroy( &p_vlm->wait );
vlc_mutex_destroy( &p_vlm->lock ); vlc_mutex_destroy( &p_vlm->lock );
vlc_mutex_destroy( &p_vlm->lock );
vlc_object_release( p_vlm ); vlc_object_release( p_vlm );
vlc_mutex_unlock( &vlm_mutex ); vlc_mutex_unlock( &vlm_mutex );
return NULL; return NULL;
...@@ -239,7 +237,6 @@ static void vlm_Destructor( vlm_t *p_vlm ) ...@@ -239,7 +237,6 @@ static void vlm_Destructor( vlm_t *p_vlm )
vlc_cond_destroy( &p_vlm->wait ); vlc_cond_destroy( &p_vlm->wait );
vlc_mutex_destroy( &p_vlm->lock ); vlc_mutex_destroy( &p_vlm->lock );
vlc_mutex_destroy( &p_vlm->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