mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed reference handling in intltz_get_canonical_id
This commit is contained in:
parent
a0b500df99
commit
9c96d966bb
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_canonical_id)
|
||||||
efree(str);
|
efree(str);
|
||||||
|
|
||||||
if (is_systemid) { /* by-ref argument passed */
|
if (is_systemid) { /* by-ref argument passed */
|
||||||
|
ZVAL_DEREF(is_systemid);
|
||||||
zval_dtor(is_systemid);
|
zval_dtor(is_systemid);
|
||||||
ZVAL_BOOL(is_systemid, isSystemID);
|
ZVAL_BOOL(is_systemid, isSystemID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue