From: Igor Sysoev Date: Tue, 8 Jan 2008 17:22:10 +0000 (+0000) Subject: r1709 merge: X-Git-Tag: release-0.5.35~4 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=07dac6cdeb217f75588bf8e85ebff75be08711d0;p=nginx.git r1709 merge: large_client_header_buffers did not free()ed before keep-alive --- diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index daef39252..ab827a648 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2085,7 +2085,7 @@ ngx_http_set_keepalive(ngx_http_request_t *r) if (hc->free) { for (i = 0; i < hc->nfree; i++) { - ngx_pfree(c->pool, hc->free[i]); + ngx_pfree(c->pool, hc->free[i]->start); hc->free[i] = NULL; } @@ -2097,7 +2097,7 @@ ngx_http_set_keepalive(ngx_http_request_t *r) if (hc->busy) { for (i = 0; i < hc->nbusy; i++) { - ngx_pfree(c->pool, hc->busy[i]); + ngx_pfree(c->pool, hc->busy[i]->start); hc->busy[i] = NULL; }