mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Memory leak fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6486 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec02726c53
commit
4fd46ec138
3 changed files with 13 additions and 8 deletions
|
@ -615,13 +615,13 @@
|
|||
day = dayOfWeek + (julianWeeks * 7 - (currDay - 1));
|
||||
}
|
||||
|
||||
return [[NSCalendarDate alloc] initWithYear: year
|
||||
month: month
|
||||
day: day
|
||||
hour: hour
|
||||
minute: min
|
||||
second: sec
|
||||
timeZone: tz];
|
||||
return [self initWithYear: year
|
||||
month: month
|
||||
day: day
|
||||
hour: hour
|
||||
minute: min
|
||||
second: sec
|
||||
timeZone: tz];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -909,7 +909,7 @@ GSTimeNow()
|
|||
NSCalendarDate *d = [calendarClass alloc];
|
||||
|
||||
d = [d initWithString: description];
|
||||
[self initWithTimeIntervalSinceReferenceDate: otherTime(d)];
|
||||
self = [self initWithTimeIntervalSinceReferenceDate: otherTime(d)];
|
||||
RELEASE(d);
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue