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

Fix memory leaks

parent d25f579b
No related branches found
No related tags found
No related merge requests found
......@@ -347,6 +347,9 @@ static grpc_resolver *sockaddr_create(
gpr_slice_buffer_destroy(&path_parts);
gpr_slice_unref(path_slice);
if (errors_found) {
gpr_free(r->lb_policy_name);
gpr_free(r->addrs);
gpr_free(r->addrs_len);
gpr_free(r);
return 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