diff --git a/deps/oblib/src/lib/alloc/ob_tenant_ctx_allocator.cpp b/deps/oblib/src/lib/alloc/ob_tenant_ctx_allocator.cpp index 0203f9fb1c..4195afe559 100644 --- a/deps/oblib/src/lib/alloc/ob_tenant_ctx_allocator.cpp +++ b/deps/oblib/src/lib/alloc/ob_tenant_ctx_allocator.cpp @@ -519,10 +519,6 @@ void ObTenantCtxAllocator::common_free(void *ptr) const bool do_free = true; #endif if (do_free) { - auto blk_mgr = os->get_block_mgr(); - int64_t tenant_id = blk_mgr->get_tenant_id(); - int64_t ctx_id = blk_mgr->get_ctx_id(); - ObFreeLogPrinter::get_instance().print_free_log(tenant_id, ctx_id, obj); os->free_object(obj); } }