fixups for libobjc2

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-25 18:49:31 +00:00
parent 145a5670bf
commit 14b91c9052
67 changed files with 328 additions and 253 deletions

View file

@ -1029,7 +1029,7 @@ otherTime(NSDate* other)
o = [concreteClass allocWithZone: NSDefaultMallocZone()];
o = [o initWithTimeIntervalSinceReferenceDate: interval];
}
RELEASE(self);
DESTROY(self);
return o;
}
@ -1054,7 +1054,7 @@ otherTime(NSDate* other)
d = [d initWithString: description];
if (d == nil)
{
RELEASE(self);
DESTROY(self);
return nil;
}
else
@ -1074,7 +1074,7 @@ otherTime(NSDate* other)
if (anotherDate == nil)
{
NSLog(@"initWithTimeInterval:sinceDate: given nil date");
RELEASE(self);
DESTROY(self);
return nil;
}
// Get the other date's time, add the secs and init thyself