Originally Posted By: Dragonfly
yes, but it works for Me.

That sounds like a fundamental lack of knowledge in regards to memory management. Which is bad the second you start playing with dynamically allocated memory.

Originally Posted By: Dragonfly
sid Do you know a better way?

Yes. But you should google "memory leak" and use the manual to find out why it is a memory leak, what's so bad about it and how it's fixed.


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