Commit ffb2a8b7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

projectM: fix mutex leak

parent 107af665
......@@ -204,6 +204,7 @@ static int Open( vlc_object_t * p_this )
return VLC_SUCCESS;
error:
vlc_mutex_destroy( &p_sys->lock );
vlc_sem_destroy( &p_sys->ready );
free (p_sys );
return VLC_EGENERIC;
......
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