aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_client_posix.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-05-15 11:20:30 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-05-15 11:20:30 -0700
commit98c1de07e6463d34939f51c009fae18daaebdf15 (patch)
treee1a155c89b0fab795841c55b33f32535591a8fa1 /src/core/lib/iomgr/tcp_client_posix.cc
parentbc20975f21d6b7a9dbf888fd9f9c283d5c9f5e6f (diff)
Stop using banned functions
Diffstat (limited to 'src/core/lib/iomgr/tcp_client_posix.cc')
-rw-r--r--src/core/lib/iomgr/tcp_client_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_client_posix.cc b/src/core/lib/iomgr/tcp_client_posix.cc
index 6144d389f7..f987d31ac1 100644
--- a/src/core/lib/iomgr/tcp_client_posix.cc
+++ b/src/core/lib/iomgr/tcp_client_posix.cc
@@ -233,7 +233,7 @@ finish:
error = grpc_error_set_str(error, GRPC_ERROR_STR_TARGET_ADDRESS,
addr_str_slice /* takes ownership */);
} else {
- grpc_slice_unref(addr_str_slice);
+ grpc_slice_unref_internal(addr_str_slice);
}
if (done) {
// This is safe even outside the lock, because "done", the sentinel, is