Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
- Subject: Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
- From: Uli Kusterer <email@hidden>
- Date: Tue, 11 Aug 2009 08:04:04 +0200
On Aug 8, 2009, at 3:30 AM, Kirk Swenson wrote:
- (id) windowWillReturnFieldEditor: (NSWindow*) aWindow toObject:
(id) anObject
{
// myTextFieldEditor is a member variable, so there will only be
one of them.
if( myTextFieldEditor == nil) {
myTextFieldEditor = [[MyTextView alloc] init];
Isn't that missing an autorelease? Or is this documented as an
exception somewhere? Looks like you're leaking a text view each time
this is called.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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