summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-12-28 16:01:06 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-12-28 16:01:06 +0300
commit497faf1b9abb188cab40c389a9e6221add5dd496 (patch)
treecb25d7f278a6706cf6f74cd25982764ca1d0c4f6 /src/nxt_application.c
parentb59535b22c73b04ed85c0bc1287203e3449c645b (diff)
downloadunit-497faf1b9abb188cab40c389a9e6221add5dd496.tar.gz
unit-497faf1b9abb188cab40c389a9e6221add5dd496.tar.bz2
Changed nxt_mp_retain() and nxt_mp_release() interfaces.
Diffstat (limited to '')
-rw-r--r--src/nxt_application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c
index a854564e..29b7a1e6 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -892,7 +892,7 @@ nxt_app_http_req_body_read(nxt_task_t *task, nxt_app_parse_ctx_t *ctx,
nxt_int_t
nxt_app_http_req_done(nxt_task_t *task, nxt_app_parse_ctx_t *ctx)
{
- nxt_mp_release(ctx->mem_pool, NULL);
+ nxt_mp_release(ctx->mem_pool);
return NXT_OK;
}