diff options
author | 2018-05-15 11:20:30 -0700 | |
---|---|---|
committer | 2018-05-15 11:20:30 -0700 | |
commit | 98c1de07e6463d34939f51c009fae18daaebdf15 (patch) | |
tree | e1a155c89b0fab795841c55b33f32535591a8fa1 /src/core/lib/iomgr/tcp_client_posix.cc | |
parent | bc20975f21d6b7a9dbf888fd9f9c283d5c9f5e6f (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.cc | 2 |
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 |