Page 1 of 1

Does Deallocate have to be used per case?

Posted: Sat Jan 19, 2008 8:46 am
by Mentat
Is there a way to just wipe out everything allocated with just one swipe?

Posted: Thu Jan 24, 2008 1:39 pm
by coderJeff
No, if you are doing your own allocations, you must remember to free the memory for each one. Allocate/Deallocate is not managed in any way.

Posted: Thu Jan 24, 2008 2:38 pm
by Mentat
Ok. Must all pointers be properly destroyed, or are they taken care of?