aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm
index cdf3f059a..365f6cb2e 100644
--- a/cocoa/ScintillaCocoa.mm
+++ b/cocoa/ScintillaCocoa.mm
@@ -382,7 +382,7 @@ const CGFloat paddingHighlightY = 2;
ScintillaCocoa::ScintillaCocoa(NSView* view)
{
wMain = view; // Don't retain since we're owned by view, which would cause a cycle
- timerTarget = [[[TimerTarget alloc] init: this] retain];
+ timerTarget = [[TimerTarget alloc] init: this];
layerFindIndicator = NULL;
Initialise();
}