Hello, I am have a small memory leak in my program. I allocated memory locally for an image in a function. I thought when the program leaves the function it cleans up all the local variables. But, this is false local variables still stay in memory and has to be cleaned up mauually.
I still have memory leaks in my program. Is there anything else I should clean up besides local variables that hold images??
I will appreciate any help
I still have memory leaks in my program. Is there anything else I should clean up besides local variables that hold images??
I will appreciate any help