Hello Petr,
Today I kind-of finished leak hunting in Enigma code. My goal was to
eliminate all leaks reported by Valgrind 1.9.4.
I wasn't able to remove all leaks. Valgrind claims that there are
currenly some 250 KB leaked, and this leak occurs even if all you do is
enter the game and exit immediately.
My valgrind (1.0.4) reports 230k of these 250k as 'still reachable'. A
quick look showed that most of these are caused by static data. I
think we should not worry about it.
After starting a level and then shutting down it only reports 3.4k of
really lost memory (opposed to 413k of 'still reachable' memory).
What I want to say: I do not see many "real" leaks.