]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Fix missing mutex unlock in switch_ivr_dmachine_ping()
authorAndrey Volk <andywolk@gmail.com>
Wed, 29 Dec 2021 16:07:54 +0000 (19:07 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 28 Mar 2023 14:10:25 +0000 (17:10 +0300)
src/switch_ivr_async.c

index 6dfdcf7248a94b76fc97e54cb095d6fdec97caea..d00b75d40cd4114f4bbd90f38f0a7b81a7f027ab 100644 (file)
@@ -546,6 +546,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_ping(switch_ivr_dmachine_t *
        }
 
        if (dmachine->pinging) {
+               switch_mutex_unlock(dmachine->mutex);
                return SWITCH_STATUS_BREAK;
        }