aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_posix.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-26 13:22:12 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-26 13:22:12 -0700
commit61ecb9259b0a9e09d1b4f29ea8ee9ba57af0e7c7 (patch)
tree253fa12c81892f0be8aa3b91705195bcfd63be9a /src/core/lib/iomgr/tcp_posix.c
parent1f8d1d5afde35c05bb20f024c4af932a6199e362 (diff)
TCP buffer pool integration done
Diffstat (limited to 'src/core/lib/iomgr/tcp_posix.c')
-rw-r--r--src/core/lib/iomgr/tcp_posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.c b/src/core/lib/iomgr/tcp_posix.c
index 27a7f83b4d..8b0841cacc 100644
--- a/src/core/lib/iomgr/tcp_posix.c
+++ b/src/core/lib/iomgr/tcp_posix.c
@@ -125,8 +125,8 @@ static void tcp_begin_free(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) {
"tcp_unref_orphan");
gpr_slice_buffer_destroy(&tcp->last_read_buffer);
gpr_free(tcp->peer_string);
- grpc_buffer_user_destroy(exec_ctx, &tcp->buffer_user,
- grpc_closure_create(tcp_end_free, tcp));
+ grpc_buffer_user_shutdown(exec_ctx, &tcp->buffer_user,
+ grpc_closure_create(tcp_end_free, tcp));
}
/*#define GRPC_TCP_REFCOUNT_DEBUG*/