diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2011-08-20 10:24:06 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2011-08-20 10:24:06 +1000 |
commit | 4da4c08bd72816d02a12eacf51ad8b324bbac22a (patch) | |
tree | 3df10f18bd647abed68a1877d19fe8f641db3e8c | |
parent | 4b57ac7b563874a1c6dbaee4d68e0259e033ab3f (diff) | |
download | scintilla-mirror-4da4c08bd72816d02a12eacf51ad8b324bbac22a.tar.gz |
Fix memory leak with images in autocompletion list.
-rw-r--r-- | cocoa/PlatCocoa.mm | 1 |
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 |