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.
Post a Followup