提交 621cb06d 编写于 作者: J JiahuaChen 提交者: wangzelin.wzl

[CP] Fix hash node memory leak

上级 94f6956d
......@@ -197,5 +197,12 @@ int ObServerCheckpointWriter::update_tenant_file_super_block(
LOG_WARN("fail to update tenant file super block", K(ret));
}
}
for (int64_t i = 0; i < tenant_file_infos.count(); ++i) {
if (nullptr != tenant_file_infos.at(i)) {
tenant_file_infos.at(i)->~ObTenantFileInfo();
tenant_file_infos.at(i) = nullptr;
}
}
return ret;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册