diff options
author | 2018-05-16 09:28:18 -0700 | |
---|---|---|
committer | 2018-05-16 09:28:18 -0700 | |
commit | 6e5ca7bad72ebf50f9245e1e1f2eb642f285067a (patch) | |
tree | 531ba202aefc37d506ae370f2291737be5a9c106 /src/core/lib/iomgr | |
parent | 3d5de335223ccf5994603193c52a6e5d3323f4b0 (diff) | |
parent | f02d33cd8e5e74d8f1a31beb62048b46c1138505 (diff) |
Merge pull request #15384 from ncteisen/sanity
Fix Sanity Test for Core Banned Functions
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/tcp_client_posix.cc | 3 |
1 files changed, 2 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..900c056575 100644 --- a/src/core/lib/iomgr/tcp_client_posix.cc +++ b/src/core/lib/iomgr/tcp_client_posix.cc @@ -45,6 +45,7 @@ #include "src/core/lib/iomgr/tcp_posix.h" #include "src/core/lib/iomgr/timer.h" #include "src/core/lib/iomgr/unix_sockets_posix.h" +#include "src/core/lib/slice/slice_internal.h" extern grpc_core::TraceFlag grpc_tcp_trace; @@ -233,7 +234,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 |