mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 09:21:26 +00:00
Autorelease on already autorelease'd object - and return NON-mutable string from description method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@37719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fd6955f139
commit
aaa0a6e5c2
1 changed files with 8 additions and 8 deletions
|
@ -170,7 +170,7 @@
|
|||
[description appendFormat: @" size: %@",NSStringFromSize([self size])];
|
||||
[description appendFormat: @" _surface: %p",_surface];
|
||||
[description appendFormat: @" surfDC: %p",shdc];
|
||||
return AUTORELEASE(description);
|
||||
return [NSString stringWithString:description];
|
||||
}
|
||||
|
||||
- (NSSize) size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue