|
I have recently used FBX SDK 2012.1 (windows 7 x64, vs2010) to import some 3DS files, everything is fine except that there are memory leaks.
To produce this problem, just add the following lines to the tail of main() funtion in FBX SDK examples “Normals”:
#ifdef _DEBUG
// get the current state of the flag
int nCrtDbgFlag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
// set memory leak check flag
nCrtDbgFlag |= _CRTDBG_LEAK_CHECK_DF;
// set the new debug flag
_CrtSetDbgFlag(nCrtDbgFlag);
#endif
Start the program in vs2010 (you must press F5 to start) and specify a 3DS file in command argument, after the program exited you will see several memory leak reports in the output windows.
|
|
|
|
HI,
I also find the memory leak problem.
How can I avoid it?
|
|
|
|
Hi,
I logged a bug for this. Thanks.
Viviane
Maya Data Platform
Autodesk
Viviane Rochon
Maya Data Platform
Autodesk
|
|
|