diff options
author | nyamatongwe <unknown> | 2013-01-04 19:16:40 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-04 19:16:40 +1100 |
commit | 416af687221c7dfdba0e7835ae55b3927d9dd5c6 (patch) | |
tree | 75c273b0ac01b22087609560ac7c9b5934de845b | |
parent | 3d4104bd1c420362a31ba08c28771c75f4b3128f (diff) | |
download | scintilla-mirror-416af687221c7dfdba0e7835ae55b3927d9dd5c6.tar.gz |
Fix retain count of timerTarget so it can be deallocated.
From Mike Lischke at Oracle.
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
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(); } |