Re: Can't figure out where the memory leak comes from.

2009-07-11 Thread Alexander Spohr
Your code looks fine. Maybe the NSOpenPanel is creating a global singleton in memory. That could look like a leak. atze ps. Why do you copy an array into a dictionary that uses the index as a key? Why not just dump allTheFiles? Am 11.07.2009 um 00:38 schrieb Y. Vera: Hello

Can't figure out where the memory leak comes from.

2009-07-10 Thread Y. Vera
Hello everyone! I'm somewhat of a cocoa newbie and I simply can't figure out why I'm getting a spike in the leaks graph in Instruments with this code. It seems to be a small leak (i.e. 16 Bytes and the Leaked Object is Generalblock-16; that is the only leaking object and says Self 100%) and it