aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-05-23 22:49:18 +0000
committerGravatar Craig Tiller <ctiller@google.com>2017-05-23 22:50:03 +0000
commit4a1e432ca5fa6acfc0f648163f6f70dc52e33b78 (patch)
tree021cf20758f65cf0ca260b61fa82c5cf141bc3ca /src
parent0a94f3c8ab55dfd12c14058d57f33121c8d6c411 (diff)
Refcounting fix
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/http/httpcli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/http/httpcli.c b/src/core/lib/http/httpcli.c
index 0ac2c2ad52..c3421e1b55 100644
--- a/src/core/lib/http/httpcli.c
+++ b/src/core/lib/http/httpcli.c
@@ -120,6 +120,7 @@ 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);
}