diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-06-19 13:59:25 +0200 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-06-19 13:59:25 +0200 |
commit | 3afa2dc1c189a7d3548c233561af0d9f74997b45 (patch) | |
tree | 937c1a51ae9fae63b3ff932984b6d35f5bfddbeb /src/core | |
parent | a701ade70abee86105bfc38f3426d1c3d40ba206 (diff) | |
parent | a15f08cc9a8004785ec937b2ee06951b600d87b6 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into ssl_auth_context_fix
Diffstat (limited to 'src/core')
-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; |