From: Neerav P. <nee...@ho...> - 2008-06-26 23:05:18
|
Hi, I added the following code and I am getting memory leaks, do I have to free something here? Any help would be greatly appreciated. Neerav gdcm::ImageReader reader; reader.SetFileName( CStringA(filename).GetString() ); if( !reader.Read() ) { AfxMessageBox( "It didnt work" ); return false; } Detected memory leaks! Dumping objects -> {147} normal block at 0x01D074E0, 32 bytes long. Data: <1.2.826.0.1.3680> 31 2E 32 2E 38 32 36 2E 30 2E 31 2E 33 36 38 30 {141} normal block at 0x01D070A0, 68 bytes long. Data: < p p p > A0 70 D0 01 A0 70 D0 01 A0 70 D0 01 CD CD CD CD {140} normal block at 0x01D07018, 76 bytes long. Data: < p p p > 18 70 D0 01 18 70 D0 01 18 70 D0 01 CD CD CD CD {139} normal block at 0x01D06F90, 76 bytes long. Data: < o o o > 90 6F D0 01 90 6F D0 01 90 6F D0 01 CD CD CD CD {138} normal block at 0x01D06EF0, 96 bytes long. Data: < n n n > F0 6E D0 01 F0 6E D0 01 F0 6E D0 01 CD CD CD CD {137} normal block at 0x01D06E70, 64 bytes long. Data: <pn pn pn > 70 6E D0 01 70 6E D0 01 70 6E D0 01 CD CD CD CD {136} normal block at 0x01D06DA8, 140 bytes long. Data: < > 00 00 00 00 CD CD CD CD CD CD CD CD CD CD CD CD {134} normal block at 0x01D06C88, 32 bytes long. Data: <siemens csa head> 73 69 65 6D 65 6E 73 20 63 73 61 20 68 65 61 64 {133} normal block at 0x01D06C28, 32 bytes long. Data: <siemens csa head> 73 69 65 6D 65 6E 73 20 63 73 61 20 68 65 61 64 Object dump complete. _________________________________________________________________ Try Chicktionary, a game that tests how many words you can form from the letters given. Find this and more puzzles at Live Search Games! http://g.msn.ca/ca55/207 |