diff options
Diffstat (limited to 'apps/app_queue.c')
-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); |