diff options
author | 2016-09-27 13:55:24 -0700 | |
---|---|---|
committer | 2016-09-27 13:55:24 -0700 | |
commit | 4b3b5d0e82e883c8632e50604f2cde30e4e056d0 (patch) | |
tree | a04295b795152599bdea10d4b17a83cea5accc7e /src/core/lib/iomgr/tcp_posix.c | |
parent | 32c804e6a76d37460f34dc7154431b2c38d86c99 (diff) |
Fixes for destruction
Diffstat (limited to 'src/core/lib/iomgr/tcp_posix.c')
-rw-r--r-- | src/core/lib/iomgr/tcp_posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/tcp_posix.c b/src/core/lib/iomgr/tcp_posix.c index 4397890c93..812c39235b 100644 --- a/src/core/lib/iomgr/tcp_posix.c +++ b/src/core/lib/iomgr/tcp_posix.c @@ -131,6 +131,7 @@ static void tcp_free(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp) { grpc_fd_orphan(exec_ctx, tcp->em_fd, tcp->release_fd_cb, tcp->release_fd, "tcp_unref_orphan"); gpr_slice_buffer_destroy(&tcp->last_read_buffer); + grpc_buffer_user_destroy(exec_ctx, &tcp->buffer_user); gpr_free(tcp->peer_string); gpr_free(tcp); } |