Re: Fw: [Dev-C++] Memory leak with STL list erase
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hossein H. <ult...@em...> - 2004-03-27 14:04:54
|
<P>Oops! Sorry, cause I hadn't seen this message.<BR><BR>> Yes, I know the containers contains only copies and I made an error in <BR>> example code (missing delete temp) but even if I delete the memory <BR>> allocated <BR>> with new the problem is the same: without delete the program uses 32 M, <BR>> using delete the program uses 16 M also after the clear() (but the size() <BR>> of <BR>> the list is correctly 0). <BR>> Other suggestions? <BR><BR>Nothing technical!</P> <P>Regards,<BR>--Hossein</P><BR> -- <p>__________________________________________________________<br> Sign-up for Ads Free at Mail.com<br> <a href="http://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode=adsfreejump01" target="_blank">http://www.mail.com/?sr=signup</a></p> |