2.3.2 Memory Leaks ?

Robert genjox at yahoo.com
Tue Dec 9 14:29:42 EST 2003


Hi, 
I am building with VS 6.0 under WinXP, and building with the default
python configuration & settings. I build a test python app with just
the following code:


/* testing for memory leaks */
long tmp_flag = _CrtSetDbgFlag( _CRTDBG_REPORT_FLAG );
tmp_flag |= _CRTDBG_LEAK_CHECK_DF;
_CrtSetDbgFlag( tmp_flag );

Py_Initialize();
Py_Finalize();


For some reason I am seeing a *bunch* of memory leaks. Does anyone
know what the problem could be?




More information about the Python-list mailing list