aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-26 16:39:39 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-26 16:39:39 +0000
commitda2809f26c5943640985c6536feacfeb792ceb95 (patch)
tree97562ea3720b7e867c29ed928be1969d417e0244 /apps
parent3e885dd032d860c498ce57fd13744468b64b291b (diff)
Merged revisions 196792 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r196792 | seanbright | 2009-05-26 12:38:54 -0400 (Tue, 26 May 2009) | 2 lines Add a missing unref for queues in handle_statechange. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@196793 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 82399597c..60cb9412c 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1051,6 +1051,7 @@ static int handle_statechange(void *datap)
}
ao2_unlock(q);
+ ao2_ref(q, -1);
}
if (found)