Commit cd97914e authored by Rémi Duraffort's avatar Rémi Duraffort

missing vlc_mutex_destroy in case of failure.

parent e82d21d7
......@@ -287,6 +287,7 @@ libvlc_media_player_new( libvlc_instance_t * p_libvlc_instance,
p_libvlc_instance, p_e );
if( libvlc_exception_raised( p_e ) )
{
vlc_mutex_destroy( &p_mi->object_lock );
free( p_mi );
return NULL;
}
......
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