Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Windows > Re: freeing mem...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 253 of 319
Post > Topic >>

Re: freeing memory

by Howard Hinnant <hinnant@[EMAIL PROTECTED] > Feb 7, 2005 at 12:47 PM

In article 
<d47241f6744cfbca08ae0578687b96a4@[EMAIL PROTECTED]
>,
 "killfuzzys" <chris.chikes@[EMAIL PROTECTED]
> wrote:

> I've noticed that CodeWarrior automatically will free memory for you if
you
> forget. Example:
> freeing a node in a linked list will automatically free any dynamically
> allocated data in that node.
> 
> This is becoming a problem for me as I am a beginning programmer(still
> working on my undergrad).  When I run my programs on MS Visual C++ at
> school, memory leaks then show themselves.
> 
> I know that there must be some way to disable this feature.  If anyone
out
> there knows how, it would be wonderful if you could tell me (or, at
least,
> point me in the right direction.  

Actually CodeWarrior does not do automatic memory freeing.

I believe you are asking for a memory leak detector.  There are several 
around.  You are welcome to try mine:

http://home.twcny.rr.com/hinnant/MemoryManager/

-Howard
 




 2 Posts in Topic:
freeing memory
"killfuzzys" &l  2005-02-05 22:29:02 
Re: freeing memory
Howard Hinnant <hinnan  2005-02-07 12:47:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:14:11 CDT 2008.