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) {