What it sounds like - though without looking at most/all of the code:
You've got a memory leak somewhere in your code - allocating dynamic memory (either through malloc or new) and not deleting it. Then, when you get to the end of the program, it doesn't properly know how to delete/free it, and crashes.
__________________
Eat antimatter, Posleen-boy!
|