aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-05-03 08:24:51 -0700
committerGravatar GitHub <noreply@github.com>2017-05-03 08:24:51 -0700
commit3f716baa0a33529592c6cfeb64950fe463c4595f (patch)
tree8a813961cb0a93556f56e06a98091e42aede5e6f /src/core/lib
parent892e4be6da9149a5fa7d3a4616ba0fa334828729 (diff)
parent89371914c906a760cb4ac00c2754f3c27549e7ee (diff)
Merge pull request #10972 from ncteisen/credential-error-refcount
Fix Error Refcount Bug
Diffstat (limited to 'src/core/lib')
-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 453a64b049..0ac2c2ad52 100644
--- a/src/core/lib/http/httpcli.c
+++ b/src/core/lib/http/httpcli.c
@@ -105,7 +105,7 @@ static void finish(grpc_exec_ctx *exec_ctx, internal_request *req,
grpc_error *error) {
grpc_polling_entity_del_from_pollset_set(exec_ctx, req->pollent,
req->context->pollset_set);
- grpc_closure_sched(exec_ctx, req->on_done, error);
+ grpc_closure_sched(exec_ctx, req->on_done, GRPC_ERROR_REF(error));
grpc_http_parser_destroy(&req->parser);
if (req->addresses != NULL) {
grpc_resolved_addresses_destroy(req->addresses);