mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
Autorelease image returned by [provideNewButtonImage].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17351 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff41f56dea
commit
efb93dad1b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@
|
|||
NSString *file = [bundle pathForResource: NSStringFromClass(myClass)
|
||||
ofType:@"tiff"];
|
||||
|
||||
return [[NSImage alloc] initWithContentsOfFile: file];
|
||||
return AUTORELEASE([[NSImage alloc] initWithContentsOfFile: file]);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue