From: Ryan Bloom Date: Fri, 17 Aug 2001 17:12:18 +0000 (+0000) Subject: initialize some values on variable creation X-Git-Tag: 2.0.24~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0ee364ee812fd229ae69f4216e4cd452c92d0ca;p=apache initialize some values on variable creation Submitted by: John Barbee git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90290 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 935e2f0d47..806b3b8578 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -905,7 +905,7 @@ int ap_proxy_http_handler(request_rec *r, proxy_server_conf *conf, conn_rec *c = r->connection; apr_bucket_brigade *bb = apr_brigade_create(p); apr_uri_components *uri = apr_palloc(r->connection->pool, sizeof(*uri)); - proxy_http_conn_t *p_conn = apr_palloc(r->connection->pool, + proxy_http_conn_t *p_conn = apr_pcalloc(r->connection->pool, sizeof(*p_conn)); /* is it for us? */