Commit 976497ae authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

audio_output: Don't forget to unlock in case of error in DecNew().

parent a50596dd
......@@ -146,6 +146,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
if ( aout_MixerNew( p_aout ) == -1 )
{
aout_OutputDelete( p_aout );
vlc_mutex_unlock( &p_aout->input_fifos_lock );
goto error;
}
......
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