I've found a VERY good basic way of writing classes to eliminate memory leaks(apart from using heaptrace).

ALWAYS put your Create and Destroy methods beside each other. This way you can see if you didn't forget something.

I know that most of the time, memory leaks are cause by more severe errors, but alot of stupid mistakes can be avoided this way.