We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3354cc6 commit fecad54Copy full SHA for fecad54
1 file changed
ext/date/php_date.c
@@ -3822,7 +3822,6 @@ PHP_METHOD(DateTimeZone, __set_state)
3822
tzobj = Z_PHPTIMEZONE_P(return_value);
3823
if (!php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht)) {
3824
zend_throw_error(NULL, "Timezone initialization failed");
3825
- zval_ptr_dtor(return_value);
3826
RETURN_THROWS();
3827
}
3828
0 commit comments