diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:21:17 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:21:17 +0000 |
commit | fa335f6f3d62561ab8b2c5fb9b9c4f1ab131ed87 (patch) | |
tree | b44b833df8566c8e9b54562bc7061a1e20147262 /apps | |
parent | 37c25bb5d409e739153e827d070fa0aa4722fdb4 (diff) |
Add a missing unref of a queue member in an error handling block
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82238 f38db490-d61c-443f-a65b-d21fe96a405b
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 683ee75a7..9c973e082 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2488,6 +2488,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); |