Dooley, I think you are chasing the wrong issue here. A memory leak doesn't lead to memory corruption. Leaking memory isn't good and should be fixed, but it's not the cause of your garbage data. That usually comes from writing into corrupt pointers and overriding existing data.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com