Re: Sharing a view between NSWindow instances
Re: Sharing a view between NSWindow instances
- Subject: Re: Sharing a view between NSWindow instances
- From: PGM <email@hidden>
- Date: Mon, 17 Sep 2007 10:32:42 -0400
[[[[SCIView alloc] init] retain] autorelease]
Are you releasing this view somewhere else? If so, the retain and
autorelease are not necessary. If you aren't releasing this view at
another spot in your code, you are leaking memory, and [[[SCIView
alloc] init] autorelease] should suffice.
Patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden