![]() |
【转帖】memory leak in odamfcapp
memory leak in odamfcapp
memory leak in odamfcapp i found memory leak in example odamfcapp, debug version. to repeat the problem, debug odamfcapp. after the application exits, the output window in vc shows: ... detected memory leaks! dumping objects -> {43} normal block at 0x03971f20, 33 bytes long. data: < c > 00 43 00 cd cd cd cd cd cd cd cd cd cd cd cd cd {42} normal block at 0x03970060, 40 bytes long. data: < |l > 14 7c 4c 10 16 00 00 00 00 00 00 00 00 00 00 00 object dump complete. the thread 0xf30 has exited with code 0 (0x0). the program 'd:\ycf\opendwg\dwgdirect\exe\debug\odamfcapp.exe' has exited with code 0 (0x0). ycf888 this is known effect. actually the problems is in diagnostics not in dwgdirect or sample code. memory dumped as leaks is deallocated in static objects destructors. checking memory and dumping leaks takes place before static objects destructors are invoked. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 04:46 AM. |