minemonics
minemonics copied to clipboard
Fix memory leaks
There seems to be one that continuously leaks memory. Also check when loading.
Analyze again using valgrind. Run a complete cycle multiple times. Show and hide the math panel and show multiple creatures. Run multiple cycles without view.
Valgrind seemed to be had to interpret. However the usage of Intel Parallels Inspector was much more successful and revealed different leaks that were fixed in the following commits.
2d70662ee10dc68846f34d10b0a1541ca66854ca
2e4fae96334c1749ee1732e110866bca6103d60f
920887a2fcd2dcb6d9fcd70e1fd9496860432176
38ba72ae03b3a8c08dbaefe495e712b8f9afc56d
c3f6ba99ce795b04a34489c2d7bb05b582cd6b37
307b53201c41cbe8b92afa3fd3766729dd3bb2a5
25c4f6bb78841158a4e6e72f4e068994eddbc93f
Additional documentation of unresolved constant size leaks:
cf234c340d6a84e1edf00036aec1886f46c68fed
9bbabac722a9ce221c327f080b1d31fb6640f32e