aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channelz_registry_test.cc
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@google.com>2018-05-18 08:26:04 -0700
committerGravatar Noah Eisen <ncteisen@google.com>2018-05-18 08:26:04 -0700
commit05121518b6204242d0b89ebc770ee951c6f96863 (patch)
tree4edcfadd82f25437a9e96a1c7b3d9c73cfea5592 /test/core/channel/channelz_registry_test.cc
parentbdbf04cde1f429787c41013071dea12c6ab2088e (diff)
Fix asan for channelz
Diffstat (limited to 'test/core/channel/channelz_registry_test.cc')
-rw-r--r--test/core/channel/channelz_registry_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/channel/channelz_registry_test.cc b/test/core/channel/channelz_registry_test.cc
index 44bb17be2c..37696dc0e8 100644
--- a/test/core/channel/channelz_registry_test.cc
+++ b/test/core/channel/channelz_registry_test.cc
@@ -94,6 +94,7 @@ TEST(ChannelzRegistryTest, CustomObjectTest) {
intptr_t uuid = ChannelzRegistry::Register(foo);
Foo* retrieved = ChannelzRegistry::Get<Foo>(uuid);
EXPECT_EQ(foo, retrieved);
+ Delete(foo);
}
TEST(ChannelzRegistryTest, NullIfNotPresentTest) {