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:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user