aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/secure_endpoint_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-09 15:20:59 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-09 15:20:59 -0800
commit10cd3566621c17b4e63526b53b3052cc9a555c48 (patch)
tree9af431ce2843505736e6a685b598aaef10561245 /test/core/security/secure_endpoint_test.c
parent87a7e1fd114b571abc4644d6f1cddcaff3085df4 (diff)
Finish moving to new APIs
Diffstat (limited to 'test/core/security/secure_endpoint_test.c')
-rw-r--r--test/core/security/secure_endpoint_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/security/secure_endpoint_test.c b/test/core/security/secure_endpoint_test.c
index e49662d428..3a0c2bb272 100644
--- a/test/core/security/secure_endpoint_test.c
+++ b/test/core/security/secure_endpoint_test.c
@@ -42,6 +42,7 @@
#include "src/core/lib/iomgr/endpoint_pair.h"
#include "src/core/lib/iomgr/iomgr.h"
#include "src/core/lib/security/transport/secure_endpoint.h"
+#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/tsi/fake_transport_security.h"
#include "test/core/util/test_config.h"
@@ -170,8 +171,8 @@ static void test_leftover(grpc_endpoint_test_config config, size_t slice_size) {
grpc_endpoint_destroy(&exec_ctx, f.client_ep);
grpc_endpoint_destroy(&exec_ctx, f.server_ep);
grpc_exec_ctx_finish(&exec_ctx);
- grpc_slice_unref(s);
- grpc_slice_buffer_destroy_internal(exec_ctx, &incoming);
+ grpc_slice_unref_internal(&exec_ctx, s);
+ grpc_slice_buffer_destroy_internal(&exec_ctx, &incoming);
clean_up();
}