X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc.c;h=094d2c80a8f74234b4c3458973efc53ef5a992ee;hb=e339d116d18123afcd30e3c7f6ec176c84d160e7;hp=4a1250eafcc517a018439311761cbd059b84b43c;hpb=c78c2b56631fb2490884261a580e980a468f0e94;p=vlc diff --git a/src/libvlc.c b/src/libvlc.c index 4a1250eafc..094d2c80a8 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -229,6 +229,7 @@ libvlc_int_t * libvlc_InternalCreate( void ) #endif /* Initialize mutexes */ + vlc_mutex_init( &priv->ml_lock ); vlc_mutex_init( &priv->timer_lock ); vlc_ExitInit( &priv->exit ); @@ -1060,6 +1061,7 @@ void libvlc_InternalDestroy( libvlc_int_t *p_libvlc ) /* Destroy mutexes */ vlc_ExitDestroy( &priv->exit ); vlc_mutex_destroy( &priv->timer_lock ); + vlc_mutex_destroy( &priv->ml_lock ); #ifndef NDEBUG /* Hack to dump leaked objects tree */ if( vlc_internals( p_libvlc )->i_refcount > 1 )