diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-09-11 14:25:20 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-09-11 14:25:20 +0000 |
commit | 74044bbb8874a456cbd7f1a68c3ddde4eba748fc (patch) | |
tree | 951a4733d5ca704deaf2ad4dcc7c2fd0d96ab859 /apps | |
parent | 02c8ceb4e54f8c8bc148e2a04858d5bcd8b40ac8 (diff) |
Merged revisions 82238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82238 | russell | 2007-09-11 09:21:17 -0500 (Tue, 11 Sep 2007) | 2 lines
Add a missing unref of a queue member in an error handling block
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-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 33fc539d7..46157742d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2623,6 +2623,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce struct callattempt *tmp = ast_calloc(1, sizeof(*tmp)); if (!tmp) { + ao2_ref(cur, -1); ast_mutex_unlock(&qe->parent->lock); if (use_weight) AST_LIST_UNLOCK(&queues); |