From: Antoine Cellerier Date: Thu, 11 Feb 2010 19:01:13 +0000 (+0100) Subject: Oops, sed isn't always enough. X-Git-Tag: 1.1.0-ff~157 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3a4de92b572fe75b489b4e00661648fddbcebcad;p=vlc Oops, sed isn't always enough. --- diff --git a/src/input/vlm.c b/src/input/vlm.c index 19f2a5635b..96197a1ca7 100644 --- a/src/input/vlm.c +++ b/src/input/vlm.c @@ -155,7 +155,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this ) return NULL; } - vlc_mutex_init( &p_vlm->lock ); vlc_mutex_init( &p_vlm->lock ); vlc_cond_init_daytime( &p_vlm->wait ); p_vlm->i_id = 1; @@ -170,7 +169,6 @@ vlm_t *vlm_New ( vlc_object_t *p_this ) { vlc_cond_destroy( &p_vlm->wait ); vlc_mutex_destroy( &p_vlm->lock ); - vlc_mutex_destroy( &p_vlm->lock ); vlc_object_release( p_vlm ); vlc_mutex_unlock( &vlm_mutex ); return NULL; @@ -239,7 +237,6 @@ static void vlm_Destructor( vlm_t *p_vlm ) vlc_cond_destroy( &p_vlm->wait ); vlc_mutex_destroy( &p_vlm->lock ); - vlc_mutex_destroy( &p_vlm->lock ); } /*****************************************************************************