mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Use AUTORELEASE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d7e2d87e0
commit
9641cc5ce2
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@
|
|||
{
|
||||
fmt = [NSString stringWithFormat: @"%@:%u %@", fileName, where, fmt];
|
||||
}
|
||||
fmt = [[[NSString alloc] initWithFormat: fmt arguments: args] autorelease];
|
||||
fmt = AUTORELEASE([[NSString alloc] initWithFormat: fmt arguments: args]);
|
||||
if ([fmt hasSuffix: @"\n"] == NO)
|
||||
{
|
||||
fmt = [fmt stringByAppendingString: @"\n"];
|
||||
|
|
Loading…
Reference in a new issue