Joris Huizer wrote:
I'm wondering, is there a tool (under linux) to find memory leaks?
electric-fence is pretty simple to use but very useful. I'd go as far as to recommend that all C/C++ programs that you write should link against it during development.