BTW, is there a particular reason why you retain m_designViewerController ? A newly allocated object *is* a retained object. It will need one extra entire line of code to send a -release message to the object for it not to leak :-)

-Peter

Am 26.02.2011 um 09:08 schrieb koko:


1 m_designViewerController = [[[NSWindowController alloc] initWithWindowNibName:@"DesignViewer"] retain];

_______________________________________________

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 arch...@mail-archive.com

Reply via email to