aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channelz_test.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-06-15 14:54:26 -0400
committerGravatar ncteisen <ncteisen@gmail.com>2018-06-15 14:54:26 -0400
commit4d1da600b525a514f0a5c1d768fa3a58d65ecded (patch)
treea2928627164cd4ba3cf2b59a19f8439a7b7e28ea /test/core/channel/channelz_test.cc
parentc14e95fc63302421b71f0939a71d3a2b32c8ab1f (diff)
Fix ASAN and sanity
Diffstat (limited to 'test/core/channel/channelz_test.cc')
-rw-r--r--test/core/channel/channelz_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/channel/channelz_test.cc b/test/core/channel/channelz_test.cc
index e1dc76e4aa..cfd029f8fc 100644
--- a/test/core/channel/channelz_test.cc
+++ b/test/core/channel/channelz_test.cc
@@ -153,6 +153,7 @@ TEST(ChannelzChannelTest, ChannelzDisabled) {
ChannelNode* channelz_channel = grpc_channel_get_channelz_node(channel);
char* json_str = channelz_channel->RenderJSON();
ASSERT_EQ(json_str, nullptr);
+ grpc_channel_destroy(channel);
}
TEST_P(ChannelzChannelTest, BasicChannelAPIFunctionality) {