aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-06-26 09:42:04 -0700
committerGravatar murgatroid99 <mlumish@google.com>2017-06-26 09:42:04 -0700
commiteb74c92f90aea23c9cfcc633f6711a7a567e3781 (patch)
treec7015cad3fb70f70a4fe4b41fc83dc5d2570d176 /src
parentbb8b1c9be4ea443cb7c21ed2760e6e7358ea11bc (diff)
Fix unref of read slice in tcp_uv.c
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/tcp_uv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_uv.c b/src/core/lib/iomgr/tcp_uv.c
index e6c253a3f0..31d1a5e84d 100644
--- a/src/core/lib/iomgr/tcp_uv.c
+++ b/src/core/lib/iomgr/tcp_uv.c
@@ -80,7 +80,7 @@ typedef struct {
} grpc_tcp;
static void tcp_free(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) {
- grpc_slice_unref(tcp->read_slice);
+ grpc_slice_unref_internal(exec_ctx, tcp->read_slice);
grpc_resource_user_unref(exec_ctx, tcp->resource_user);
gpr_free(tcp);
}