no. you only call
delete when you have called
new i.e.
int *tmp = new int[20];
..
..
delete [] tmp; //deletes the array of dynamically allocated ints
deleting it frees that memory back up so it can be used again, by not doing so the computer thinks its still in use after the program has finished running and nothing else will use it(the memory).... if that keeps happening you'll eventually run out of memory and need to reboot.
edit: wah- beat to it
Edited by - Bezzant on February 21, 2002 5:09:01 PM
Edited by - Bezzant on February 21, 2002 5:09:43 PM