mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +00:00
Add missing mutex cleanup in error handler
This commit is contained in:
parent
9a8483d997
commit
d07e8e3114
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue