summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 4db89f803..5000bf47b 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -9969,6 +9969,7 @@ static int pbx_outgoing_attempt(const char *type, struct ast_format_cap *cap, co
ast_channel_unlock(*channel);
ast_channel_unref(*channel);
}
+ ast_mutex_unlock(&outgoing->lock);
ao2_ref(outgoing, -1);
return -1;
}