free( p_intf->psz_intf );
config_ChainDestroy( p_intf->p_cfg );
- vlc_mutex_destroy( &p_intf->change_lock );
}
return NULL;
}
- /* Initialize mutexes */
- vlc_mutex_init( &p_intf->change_lock );
-
/* Attach interface to its parent object */
vlc_object_attach( p_intf, p_this );
vlc_object_set_destructor( p_intf, intf_Destroy );