From: Anthony Minessale Date: Tue, 1 Dec 2015 19:54:20 +0000 (-0600) Subject: FS-8588 fix deadlock in error condition X-Git-Tag: v1.6.6~1^2~77^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a4bbc152b80e136086991c12e834b39cfaaca6;p=thirdparty%2Ffreeswitch.git FS-8588 fix deadlock in error condition --- diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 595ca3517b..456defaa3e 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -618,6 +618,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_feed(switch_ivr_dmachine_t * status = istatus; } } else { + switch_mutex_unlock(dmachine->mutex); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "dmachine overflow error!\n"); status = SWITCH_STATUS_FALSE; }