From 4d5260e36e1353b0d317e4538ca252fa430e14c2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 20 Aug 2011 10:24:06 +1000 Subject: Fix memory leak with images in autocompletion list. --- cocoa/PlatCocoa.mm | 1 - 1 file changed, 1 deletion(-) (limited to 'cocoa') 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 -- cgit v1.2.3