Add missing mutex cleanup in error handler

This commit is contained in:
Marcus Weseloh 2017-10-20 12:03:21 +02:00
parent 9a8483d997
commit d07e8e3114

View file

@ -106,6 +106,7 @@ fluid_ladspa_fx_t *new_fluid_ladspa_fx(fluid_synth_t *synth)
fx->state_cond = new_fluid_cond();
if (fx->state_cond == NULL)
{
delete_fluid_cond_mutex(fx->state_mutex);
FLUID_FREE(fx);
return NULL;
}