mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
- Make sure the tzcache' dtor doesn't cleanup cached misses in the lookup
tables.
This commit is contained in:
+3
-1
@@ -192,7 +192,9 @@ static void _php_date_tzinfo_dtor(void *tzinfo)
|
||||
{
|
||||
timelib_tzinfo **tzi = (timelib_tzinfo **)tzinfo;
|
||||
|
||||
timelib_tzinfo_dtor(*tzi);
|
||||
if (*tzi) {
|
||||
timelib_tzinfo_dtor(*tzi);
|
||||
}
|
||||
}
|
||||
|
||||
/* {{{ PHP_RINIT_FUNCTION */
|
||||
|
||||
Reference in New Issue
Block a user