It's a common mistake to forget to delete an array:
char *SomePointer = new char; delete SomePointer;
This will delete the zeroth element of SomePointer and leave the other 24 characters of the array taking up space in the heap. Eventually, there will be no more room in the heap, and the program will stop running. This is called a memory leak.