Re: About Memory Leaks


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Aaron Faust on April 17, 2001 at 18:58:44:

In Reply to: About Memory Leaks posted by Anthony on April 17, 2001 at 17:52:37:

I assume that you are using the STL list. Why not just call list.remove(Creature* X). This way, the list takes care of searching and deleting for you - all dynamic memory is deallocated via the list implementation.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]