| View previous topic :: View next topic |
| Author |
Message |
Mentat

Joined: 07 Aug 2007 Posts: 406 Location: NC, US
|
Posted: Sat Jan 19, 2008 8:46 am Post subject: Does Deallocate have to be used per case? |
|
|
Is there a way to just wipe out everything allocated with just one swipe? _________________ For any grievances posted above, I blame whoever is in charge . . . |
|
| Back to top |
|
 |
coderJeff
Joined: 08 Jan 2008 Posts: 16
|
Posted: Thu Jan 24, 2008 1:39 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Mentat

Joined: 07 Aug 2007 Posts: 406 Location: NC, US
|
Posted: Thu Jan 24, 2008 2:38 pm Post subject: |
|
|
Ok. Must all pointers be properly destroyed, or are they taken care of? _________________ For any grievances posted above, I blame whoever is in charge . . . |
|
| Back to top |
|
 |
|