aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/resolver/dns/native
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-10-21 10:30:58 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-10-21 10:30:58 -0700
commit16883a37efa49ef2d58ea57c6dbbba66497f2232 (patch)
tree865e920efa6b6861bf87fa98c9f3265a18a84c8f /src/core/ext/resolver/dns/native
parent98abfd3d64d6a887f56f3dd78eec6c32bde369df (diff)
Set user data vtable when creating grpc_lb_addresses.
Diffstat (limited to 'src/core/ext/resolver/dns/native')
-rw-r--r--src/core/ext/resolver/dns/native/dns_resolver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/resolver/dns/native/dns_resolver.c b/src/core/ext/resolver/dns/native/dns_resolver.c
index a4f6ed8c4e..0694d8b6b7 100644
--- a/src/core/ext/resolver/dns/native/dns_resolver.c
+++ b/src/core/ext/resolver/dns/native/dns_resolver.c
@@ -170,8 +170,8 @@ static void dns_on_resolved(grpc_exec_ctx *exec_ctx, void *arg,
GPR_ASSERT(r->resolving);
r->resolving = false;
if (r->addresses != NULL) {
- grpc_lb_addresses *addresses =
- grpc_lb_addresses_create(r->addresses->naddrs);
+ grpc_lb_addresses *addresses = grpc_lb_addresses_create(
+ r->addresses->naddrs, NULL /* user_data_vtable */);
for (size_t i = 0; i < r->addresses->naddrs; ++i) {
grpc_lb_addresses_set_address(
addresses, i, &r->addresses->addrs[i].addr,