fix memory leak in VSliceAlloc

This commit is contained in:
nroskill
2022-11-02 18:38:16 +00:00
committed by wangzelin.wzl
parent 1432398f97
commit 73ddc419a0
4 changed files with 70 additions and 6 deletions

View File

@ -283,6 +283,7 @@ TEST_F(TestIOStruct, IOAllocator)
TEST_F(TestIOStruct, IORequest)
{
ObTenantIOManager tenant_io_mgr;
tenant_io_mgr.inc_ref();
ASSERT_SUCC(tenant_io_mgr.io_allocator_.init(TEST_TENANT_ID, IO_MEMORY_LIMIT));
ObRefHolder<ObTenantIOManager> holder(&tenant_io_mgr);
ObIOFd fd;