diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-28 16:52:12 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-28 16:52:12 +0000 |
commit | c115a245c395993900cd4918c2806a2f90c67232 (patch) | |
tree | 6a31c2f13bcd76bb34ce67ea5c8b5ea04d65053e | |
parent | edd815912cd3433e4cb0e0123d0ea82cbcc6ee95 (diff) |
Merged revisions 280160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r280160 | seanbright | 2010-07-28 12:51:11 -0400 (Wed, 28 Jul 2010) | 8 lines
Plug a reference leak in app_queue when adding members dynamically.
(closes issue #17738)
Reported by: bobwienholt
Patches:
issue17738.patch uploaded by bobwienholt (license 950)
Tested by: bobwienholt, seanbright
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280161 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 99a18b36d..ccdee7fb3 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -5080,6 +5080,7 @@ static int add_to_queue(const char *queuename, const char *interface, const char } ao2_unlock(q); ao2_unlock(queues); + queue_t_unref(q, "Expiring temporary reference"); return res; } |