mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 09:31:00 +00:00
Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd0d602d87
commit
0177742a92
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSAttributedString.m: attachmentString() - retain newly
|
||||
created string.
|
||||
|
||||
2000-06-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSTextAttachment.h
|
||||
|
|
|
@ -94,8 +94,7 @@ static NSString *attachmentString()
|
|||
if (attach == nil)
|
||||
{
|
||||
unichar ch = NSAttachmentCharacter;
|
||||
attach = [NSString stringWithCharacters: &ch
|
||||
length: 1];
|
||||
attach = RETAIN([NSString stringWithCharacters: &ch length: 1]);
|
||||
}
|
||||
return attach;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue