Assert uri not null

pull/3035/head
Craig Tiller 9 years ago
parent c0136b9a27
commit f5cf6fa478
  1. 1
      src/core/client_config/resolver_registry.c

@ -90,6 +90,7 @@ static grpc_resolver_factory *resolve_factory(const char *target,
char *tmp;
grpc_resolver_factory *factory = NULL;
GPR_ASSERT(uri);
*uri = grpc_uri_parse(target, 1);
factory = lookup_factory(*uri);
if (factory == NULL) {

Loading…
Cancel
Save