aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-25 13:52:52 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-25 13:52:52 +0000
commitcec5eb8996a1cfbceb5bfdaacc30557edb0d6258 (patch)
tree2137a743a53a37ecb60423f0fcad33737876ea71 /apps
parent1725478dfdafe73087dc724425d323ea26254699 (diff)
Add a missing unlock.
Pointed out by Atis Lezdins in #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133570 f38db490-d61c-443f-a65b-d21fe96a405b
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++;