mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
* Source/NSString.m (-initWithFormat:locale:): Make sure va_end()
gets called. Patch by Stefan Bidigaray <stefanbidi@gmail.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33172 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f7368f492b
commit
86fa2414ec
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-05-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSString.m (-initWithFormat:locale:): Make sure va_end()
|
||||
gets called.
|
||||
Patch by Stefan Bidigaray <stefanbidi@gmail.com>.
|
||||
|
||||
2011-05-28 12:49 David Chisnall <theraven@gna.org>
|
||||
|
||||
* libs/base/trunk/Source/NSNotificationCenter.m:
|
||||
|
@ -13,7 +19,7 @@
|
|||
* Source/NSAutoreleasePool.m:
|
||||
Make -drain and -release in NSAutoreleasePool do the same thing (rather
|
||||
than one calling the other) in non-GC mode.
|
||||
|
||||
|
||||
* Source/Additions/GSMime.m,
|
||||
* Source/Additions/GSObjCRuntime.m,
|
||||
* Source/Additions/NSCalendarDate+GNUstepBase.m,
|
||||
|
|
|
@ -1115,7 +1115,7 @@ handle_printf_atsign (FILE *stream,
|
|||
{
|
||||
va_list ap;
|
||||
va_start(ap, locale);
|
||||
return [self initWithFormat: format locale: locale arguments: ap];
|
||||
self = [self initWithFormat: format locale: locale arguments: ap];
|
||||
va_end(ap);
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue