diff --git a/apps/app_queue.c b/apps/app_queue.c index 63e2931e32..073d7ef3e2 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4518,6 +4518,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; }