aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-23 16:29:00 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-05-23 16:29:00 -0700
commitd6466872c8ccf09fdc30a80ad86b78542069dd66 (patch)
treecd4c61f634e37b6f25b1c48a38bc671c6e01b8a2 /src
parent4a1e432ca5fa6acfc0f648163f6f70dc52e33b78 (diff)
Add missing ref
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/http/httpcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/http/httpcli.c b/src/core/lib/http/httpcli.c
index c3421e1b55..f5588a9a76 100644
--- a/src/core/lib/http/httpcli.c
+++ b/src/core/lib/http/httpcli.c
@@ -245,7 +245,7 @@ static void next_address(grpc_exec_ctx *exec_ctx, internal_request *req,
static void on_resolved(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error) {
internal_request *req = arg;
if (error != GRPC_ERROR_NONE) {
- finish(exec_ctx, req, error);
+ finish(exec_ctx, req, GRPC_ERROR_REF(error));
return;
}
req->next_address = 0;