From d5e42b78a2b7564c7e3a18daf67a8dea99d28724 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 4 Sep 2009 13:10:56 +0000 Subject: Fix in the InfoBar to avoid setting a cell class for the entire application. Fixed memory leak re. notification center. Cursor handling did not properly retain the used cursor image. --- cocoa/ScintillaCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaCocoa.mm') diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 322e7c679..81dd991e7 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -137,7 +137,7 @@ static const KeyToCommand macMapDefault[] = // Get the default notification queue for the thread which created the instance (usually the // main thread). We need that later for idle event processing. NSNotificationCenter* center = [NSNotificationCenter defaultCenter]; - notificationQueue = [[NSNotificationQueue alloc] initWithNotificationCenter: center]; + notificationQueue = [[[NSNotificationQueue alloc] initWithNotificationCenter: center] autorelease]; [center addObserver: self selector: @selector(idleTriggered:) name: @"Idle" object: nil]; } return self; -- cgit v1.2.3