diff options
-rw-r--r-- | test/core/channel/channelz_registry_test.cc | 1 |
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) { |