aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel/parse_address_test.cc
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2018-09-09 13:33:39 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2018-09-09 13:33:39 -0700
commit8cf33aa8fabfd9eeeb9e89f0796121d94cde7e34 (patch)
treec3dd6ff8d98fed40a176c9d8b557e91a5404933d /test/core/client_channel/parse_address_test.cc
parent50419a04ae9c1012a4eb6e159fdb225175e99bf6 (diff)
Fix asan bug
Diffstat (limited to 'test/core/client_channel/parse_address_test.cc')
-rw-r--r--test/core/client_channel/parse_address_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/client_channel/parse_address_test.cc b/test/core/client_channel/parse_address_test.cc
index d51c6178f8..004549fa62 100644
--- a/test/core/client_channel/parse_address_test.cc
+++ b/test/core/client_channel/parse_address_test.cc
@@ -97,6 +97,7 @@ static void test_grpc_parse_ipv6_invalid(const char* uri_text) {
grpc_uri* uri = grpc_uri_parse(uri_text, 0);
grpc_resolved_address addr;
GPR_ASSERT(!grpc_parse_ipv6(uri, &addr));
+ grpc_uri_destroy(uri);
}
int main(int argc, char** argv) {