aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index a68d35e4b..d0ac3ef1b 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4049,6 +4049,7 @@ static int set_member_paused(const char *queuename, const char *interface, const
if (failed) {
ast_log(LOG_WARNING, "Failed %spausing realtime queue member %s:%s\n", (paused ? "" : "un"), q->name, interface);
ao2_ref(mem, -1);
+ ao2_unlock(q);
continue;
}
found++;