diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-09-15 20:30:29 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-09-15 20:30:29 +0300 |
commit | 1449e27cb42a5b3ca2d2106a39fee3f1d54a340e (patch) | |
tree | a44a1ef5cb5cbf33424ab8b15085331a1d80b3ae /src/nxt_application.h | |
parent | 0bec14878e99de280046e1d1b1a0195e5478c808 (diff) | |
download | unit-1449e27cb42a5b3ca2d2106a39fee3f1d54a340e.tar.gz unit-1449e27cb42a5b3ca2d2106a39fee3f1d54a340e.tar.bz2 |
Fixing memory leak of request parse context.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_application.h | 2 |
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); |