Omake-commit: fix memory leak.
@@ -232,7 +232,7 @@ | ||
232 | 232 | NSImage *cachedImage = [[[NSImage alloc] initWithContentsOfURL:[[self cachedIconIndex] objectForKey:URL]] autorelease]; |
233 | 233 | if (cachedImage) { |
234 | 234 | [(NSCell *)[attachment_ attachmentCell] setImage:cachedImage]; |
235 | - return attachment_; | |
235 | + return [attachment_ autorelease]; | |
236 | 236 | } |
237 | 237 | } |
238 | 238 |
@@ -1,3 +1,7 @@ | ||
1 | +2015-03-23 tsawada2 <tsawada2@users.sourceforge.jp> | |
2 | + * application/source/manager/BSSSSPIconManager.m | |
3 | + メモリリークを修正。 | |
4 | +================================================= 2.4.4(v774) / Senbon-Imadegawa / svn Tag : v244_FINAL | |
1 | 5 | 2015-03-01 tsawada2 <tsawada2@users.sourceforge.jp> |
2 | 6 | * application/source/preferences/AppDefaults.m |
3 | 7 | 2.4.4 初回起動時に一度だけようこそ画面を表示するようにした。 |