#4213·OpenUSD

TF_REGISTRY_FUNCTION宏可能存在内存泄漏

作者: plattfot创建于 2026年9月14日更新于 2026年9月15日

Hi, I'm getting a memory leak report from the LSan in gcc when building an usd plugin. I've traced it down to be something with the registry `TF_REGISTRY_FUNCTION` macro, more specific the `Tf_RegistryInit::Add(…)` function call in that macro.

内容来源: PixarAnimationStudios/OpenUSD