mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +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
5e14596773
commit
0f106ebecb
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…
Reference in a new issue