]> granicus.if.org Git - apache/commitdiff
initialize some values on variable creation
authorRyan Bloom <rbb@apache.org>
Fri, 17 Aug 2001 17:12:18 +0000 (17:12 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 17 Aug 2001 17:12:18 +0000 (17:12 +0000)
Submitted by: John Barbee <barbee@veribox.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90290 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index 935e2f0d47acd9228cd3de8b644f30baf1be4032..806b3b8578e461a6de907e5430a70a2c65c59f10 100644 (file)
@@ -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? */