When I try to call the NSSavePanel, I always receive some memory leaks
on it. I have no idea if they are bad or not so bad... I just can't
find a decent tutorial on the Instruments tool.
This is the code that generates the memory leak from time to time:
NSSavePanel *savePanel = [NSSavePanel savePanel];
[savePanel setRequiredFileType:extention];
[savePanel setMessage:title];
[savePanel setExtensionHidden:YES];
It's the [NSSavePanel savePanel that gets the leak... I know the
NSSavePanel is a singleton, so it should always use the same instance.
Is that the problem when I try to call it multiple times in my
application?
Thnx for helping :)
Jelle
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]