From 05121518b6204242d0b89ebc770ee951c6f96863 Mon Sep 17 00:00:00 2001 From: Noah Eisen Date: Fri, 18 May 2018 08:26:04 -0700 Subject: [PATCH] Fix asan for channelz --- test/core/channel/channelz_registry_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/core/channel/channelz_registry_test.cc b/test/core/channel/channelz_registry_test.cc index 44bb17be2c1..37696dc0e87 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(uuid); EXPECT_EQ(foo, retrieved); + Delete(foo); } TEST(ChannelzRegistryTest, NullIfNotPresentTest) {