views:

17

answers:

0

Hello. I have some code which has a memory leak. It's in development still so this is expected to happen but I can't find where the memory leak occurs. I try using the leaks tool and it shows an allocation like this (The 1.17MB steadily increases through the program):

Category: Malloc 1.17MB Live/Overall Bytes: 1.17MB

Obviously for one allocation.

I press the arrow button to look for objects but nothing is there. Why and how do I find out where this leak is?

I'll include my code (Rather large):

http://www.copypastecode.com/43700/

Thank you.