且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在MFC应用程序内部使用时TBB内存泄漏

更新时间:2022-05-21 15:32:16

如果你侦察TBB来源,分配内存块而不适当释放它(即market :: create_one_job()为_-> wskdup(name)分配h-> nameW的名称。

If you spy the TBB sources, it seems that TBB allocates a memory block without proper releasing it (i.e. market::create_one_job() allocates a name for h->nameW with _wcsdup(name)).

如果情况确实如此,***是向英特尔报告这一点,但警告说,如果这确实是一个真正的内存泄漏,可能会讨论。我们喜欢在输出窗口中保留零内存转储报告,因为很快就不能区分真正的那些与无害的。

If this is indeed the case, it would be best if one reports this to Intel but be warned that one might get into a discussion if this is indeed a true memory leak. We like to keep zero memory dump reports in the output window, because soon one can't distinguish the real ones with the harmless ones.