aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 63e2931e3..073d7ef3e 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;
}