diff --git a/apps/app_queue.c b/apps/app_queue.c index 99a18b36d6..ccdee7fb31 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; }