From d07e8e311417599ec67fb236c080bd6dfc1125d3 Mon Sep 17 00:00:00 2001 From: Marcus Weseloh Date: Fri, 20 Oct 2017 12:03:21 +0200 Subject: [PATCH] Add missing mutex cleanup in error handler --- src/bindings/fluid_ladspa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bindings/fluid_ladspa.c b/src/bindings/fluid_ladspa.c index 86ac7cdb..dd81eba2 100644 --- a/src/bindings/fluid_ladspa.c +++ b/src/bindings/fluid_ladspa.c @@ -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; }