Skip to content
Snippets Groups Projects
Commit f5cf6fa4 authored by Craig Tiller's avatar Craig Tiller
Browse files

Assert uri not null

parent c0136b9a
No related branches found
No related tags found
No related merge requests found
...@@ -90,6 +90,7 @@ static grpc_resolver_factory *resolve_factory(const char *target, ...@@ -90,6 +90,7 @@ static grpc_resolver_factory *resolve_factory(const char *target,
char *tmp; char *tmp;
grpc_resolver_factory *factory = NULL; grpc_resolver_factory *factory = NULL;
GPR_ASSERT(uri);
*uri = grpc_uri_parse(target, 1); *uri = grpc_uri_parse(target, 1);
factory = lookup_factory(*uri); factory = lookup_factory(*uri);
if (factory == NULL) { if (factory == NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment