summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:29 +0300
committerMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:29 +0300
commit1449e27cb42a5b3ca2d2106a39fee3f1d54a340e (patch)
treea44a1ef5cb5cbf33424ab8b15085331a1d80b3ae /src/nxt_application.h
parent0bec14878e99de280046e1d1b1a0195e5478c808 (diff)
downloadunit-1449e27cb42a5b3ca2d2106a39fee3f1d54a340e.tar.gz
unit-1449e27cb42a5b3ca2d2106a39fee3f1d54a340e.tar.bz2
Fixing memory leak of request parse context.
Diffstat (limited to 'src/nxt_application.h')
-rw-r--r--src/nxt_application.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index 3f5c01b5..02e7edeb 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -123,7 +123,7 @@ struct nxt_app_parse_ctx_s {
};
-nxt_int_t nxt_app_http_req_init(nxt_task_t *task, nxt_app_parse_ctx_t *ctx);
+nxt_app_parse_ctx_t *nxt_app_http_req_init(nxt_task_t *task);
nxt_int_t nxt_app_http_req_header_parse(nxt_task_t *task,
nxt_app_parse_ctx_t *ctx, nxt_buf_t *buf);