diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-18 11:52:29 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-18 11:52:29 -0700 |
commit | 8c0c9744bf04bb9d849194583ddd42653871dfa2 (patch) | |
tree | 07549a0d4eb6884549a62b194cb03be376363a82 /src/core/iomgr | |
parent | 159a774fdd05d22deaca47043fa913455d0da94c (diff) | |
parent | e0eac8b5befa4d314277dc55484458ef92fb5f8c (diff) |
Merge github.com:grpc/grpc into oops-i-split-it-again
Diffstat (limited to 'src/core/iomgr')
-rw-r--r-- | src/core/iomgr/tcp_windows.c | 2 |
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 = ⊂ nslices = 1; |