aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2011-08-20 10:24:06 +1000
committernyamatongwe <nyamatongwe@gmail.com>2011-08-20 10:24:06 +1000
commit4d5260e36e1353b0d317e4538ca252fa430e14c2 (patch)
tree6b6d680d90ffebb89aab4a0ef99cd4b6510a60f8
parent29eb86f8dc7d6b95c364135443bf71e0c77dfc6a (diff)
downloadscintilla-mirror-4d5260e36e1353b0d317e4538ca252fa430e14c2.tar.gz
Fix memory leak with images in autocompletion list.
-rw-r--r--cocoa/PlatCocoa.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index 22eadec0f..fd66f671f 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1882,7 +1882,6 @@ NSImage* ListBoxImpl::ImageForRow(NSInteger row)
if (it != images.end())
{
NSImage* img = it->second;
- [img retain];
return img;
}
else