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:
Richard Frith-Macdonald 2003-04-01 07:50:12 +00:00
parent 2d7e2d87e0
commit 9641cc5ce2

View file

@ -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"];