mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:30:48 +00:00
iRetain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6533 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b6efd9b622
commit
1d8ffc96a1
2 changed files with 5 additions and 1 deletions
|
@ -346,7 +346,7 @@ void setNSFont(NSString* key, NSFont* font)
|
|||
{
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &fontName];
|
||||
[aDecoder decodeArrayOfObjCType: @encode(float) count: 6 at: matrix];
|
||||
return [[self class] fontWithName: fontName matrix: matrix];
|
||||
return RETAIN([[self class] fontWithName: fontName matrix: matrix]);
|
||||
}
|
||||
|
||||
@end /* NSFont */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue