aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-06-18 14:22:08 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-06-18 14:22:08 -0700
commit1658ef7f501202e37a9c4b23e3bd20d0172ecc89 (patch)
tree1d3a5830a97e4f19309f29cc3a20e45218dad721 /src/core
parentf75ed23c20c6bf3699a564b9e8e326b9966615c5 (diff)
parenta15f08cc9a8004785ec937b2ee06951b600d87b6 (diff)
Merge branch 'master' into poller2
Diffstat (limited to 'src/core')
-rw-r--r--src/core/iomgr/tcp_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/iomgr/tcp_windows.c b/src/core/iomgr/tcp_windows.c
index 12dac03080..15759c398a 100644
--- a/src/core/iomgr/tcp_windows.c
+++ b/src/core/iomgr/tcp_windows.c
@@ -154,7 +154,7 @@ static void on_read(void *tcpp, int from_iocp) {
status = GRPC_ENDPOINT_CB_ERROR;
} else {
if (info->bytes_transfered != 0) {
- sub = gpr_slice_sub(tcp->read_slice, 0, info->bytes_transfered);
+ sub = gpr_slice_sub_no_ref(tcp->read_slice, 0, info->bytes_transfered);
status = GRPC_ENDPOINT_CB_OK;
slice = &sub;
nslices = 1;