summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-05-26 16:38:54 +0000
committerSean Bright <sean@malleable.com>2009-05-26 16:38:54 +0000
commit7ee6e9f4cecc42deb69a32e74f9dcea81ded4bed (patch)
tree35dabd422c248353b3cda5637d0076e2008db132 /apps
parent3abe8a963e71298bd15d119aed496c7c24743b1a (diff)
Add a missing unref for queues in handle_statechange.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 9e0519f8d..d19f28368 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1216,6 +1216,7 @@ static int handle_statechange(void *datap)
}
ao2_unlock(q);
+ ao2_ref(q, -1);
}
if (found)