mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
fixup memory allocation problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e262860ab4
commit
3142f8f42c
3 changed files with 9 additions and 3 deletions
|
@ -242,9 +242,7 @@ static NSDateFormatterBehavior _defaultBehavior = 0;
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
self = [super initWithCoder: aCoder];
|
||||
if (self == nil)
|
||||
return nil;
|
||||
GS_CREATE_INTERNAL(NSDateFormatter)
|
||||
|
||||
[aCoder decodeValuesOfObjCTypes: "@C", &_dateFormat, &_allowsNaturalLanguage];
|
||||
return self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue