aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-09-12 00:34:27 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-09-12 00:53:57 -0700
commit8d45f7bb7b5ade22aba5beb2590101bab608b8bf (patch)
tree7c1307cb88f11adde82db86850bb71fa999df613
parent56d66c207b4317453fa701e1b3fe4e2b32d26355 (diff)
Fixed leak introduced in #3293
-rw-r--r--test/core/end2end/dualstack_socket_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/dualstack_socket_test.c b/test/core/end2end/dualstack_socket_test.c
index ec3fb65105..fec9667db8 100644
--- a/test/core/end2end/dualstack_socket_test.c
+++ b/test/core/end2end/dualstack_socket_test.c
@@ -267,7 +267,7 @@ void test_connect(const char *server_host, const char *client_host, int port,
int external_dns_works(const char *host) {
grpc_resolved_addresses *res = grpc_blocking_resolve_address(host, "80");
if (res != NULL) {
- gpr_free(res);
+ grpc_resolved_addresses_destroy(res);
return 1;
}
return 0;