summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream_round_robin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream_round_robin.c')
-rw-r--r--src/nxt_upstream_round_robin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_upstream_round_robin.c b/src/nxt_upstream_round_robin.c
index 7717a2de..480f7eb8 100644
--- a/src/nxt_upstream_round_robin.c
+++ b/src/nxt_upstream_round_robin.c
@@ -110,7 +110,7 @@ nxt_upstream_round_robin_create(nxt_task_t *task, void *obj, void *data)
/* STUB */
up->sockaddr = peer[0].sockaddr;
- nxt_job_destroy(jbs);
+ nxt_job_destroy(task, jbs);
up->ready_handler(task, up);
//nxt_upstream_round_robin_get_peer(up);
@@ -118,7 +118,7 @@ nxt_upstream_round_robin_create(nxt_task_t *task, void *obj, void *data)
fail:
- nxt_job_destroy(jbs);
+ nxt_job_destroy(task, jbs);
up->ready_handler(task, up);
}