1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00

- MFH: Fixed bug #47351 (Memory leak in DateTime).

This commit is contained in:
Derick Rethans
2009-06-30 16:17:30 +00:00
parent 5dd3306551
commit 9dfb40ea8c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@
- Fixed bug #48681 (openssl signature verification for tar archives broken).
(Greg)
- Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
- Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo).
(Kalle, Rick Yorgason)
+1 -1
View File
@@ -2414,7 +2414,7 @@ static int date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int
}
timelib_unixtime2local(now, (timelib_sll) time(NULL));
timelib_fill_holes(dateobj->time, now, 0);
timelib_fill_holes(dateobj->time, now, TIMELIB_NO_CLONE);
timelib_update_ts(dateobj->time, tzi);
dateobj->time->have_relative = 0;