diff options
author | ncteisen <ncteisen@gmail.com> | 2017-05-26 07:44:03 -0400 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-05-26 07:44:03 -0400 |
commit | 342e72c585315e6f6e74e1412b3d58cd746ec89f (patch) | |
tree | 5bb073ab8bac0b4d17a4254d1975d7b9aceb91ae /src/core | |
parent | 0bd14cc89df05b04d0cd7b526c921eb60de4cf63 (diff) |
Remove uneeded ref/unref
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/http/httpcli.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/lib/http/httpcli.c b/src/core/lib/http/httpcli.c index f5588a9a76..7012ffe568 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, GRPC_ERROR_REF(error)); + grpc_closure_sched(exec_ctx, req->on_done, error); grpc_http_parser_destroy(&req->parser); if (req->addresses != NULL) { grpc_resolved_addresses_destroy(req->addresses); @@ -120,7 +120,6 @@ static void finish(grpc_exec_ctx *exec_ctx, internal_request *req, grpc_slice_buffer_destroy_internal(exec_ctx, &req->incoming); grpc_slice_buffer_destroy_internal(exec_ctx, &req->outgoing); GRPC_ERROR_UNREF(req->overall_error); - GRPC_ERROR_UNREF(error); grpc_resource_quota_unref_internal(exec_ctx, req->resource_quota); gpr_free(req); } |