diff options
author | 2015-06-18 15:03:57 -0700 | |
---|---|---|
committer | 2015-06-18 15:03:57 -0700 | |
commit | eb973c8a856846eb52f36ba718758f1c50849288 (patch) | |
tree | 40ed2e9c5bfd4eee13f08b2941776e86ab0fd8b2 /src/core/iomgr | |
parent | e74a458813fcdf8b35080e30fc1190edcd5b88be (diff) | |
parent | a15f08cc9a8004785ec937b2ee06951b600d87b6 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc
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; |