aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/client_config/http_connect_handshaker.c
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-08 16:57:34 +0000
committerGravatar Mark D. Roth <roth@google.com>2016-09-08 16:57:34 +0000
commitd66a602de050e3b8c32e67517b0ca23477e5e3a8 (patch)
tree0c5fd133f32891f7c27087bc453c8a95855e50df /src/core/ext/client_config/http_connect_handshaker.c
parentcd5f7ede27ced0f4c4129da004e544b19d992dd3 (diff)
Fix memory leak.
Diffstat (limited to 'src/core/ext/client_config/http_connect_handshaker.c')
-rw-r--r--src/core/ext/client_config/http_connect_handshaker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/client_config/http_connect_handshaker.c b/src/core/ext/client_config/http_connect_handshaker.c
index 097465469e..b6d71e2a81 100644
--- a/src/core/ext/client_config/http_connect_handshaker.c
+++ b/src/core/ext/client_config/http_connect_handshaker.c
@@ -269,6 +269,7 @@ char* grpc_get_http_proxy_server() {
}
proxy_name = gpr_strdup(uri->authority);
done:
+ gpr_free(uri_str);
grpc_uri_destroy(uri);
return proxy_name;
}