From bb11e9036f8c5bf6f36899bb462709bdbf55bfa4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 18 Feb 2019 17:28:55 +0300 Subject: Fixed memory leak on response body sending failure. --- src/nxt_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_router.c') diff --git a/src/nxt_router.c b/src/nxt_router.c index 7ecbca81..e9233554 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -3500,7 +3500,7 @@ static const nxt_http_request_state_t nxt_http_request_send_state nxt_aligned(64) = { .ready_handler = nxt_http_request_send_body, - .error_handler = nxt_http_request_close_handler, + .error_handler = nxt_http_request_error_handler, }; -- cgit