mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed return_value destruction
This commit is contained in:
parent
5de87fe680
commit
fe8c0b889f
1 changed files with 0 additions and 1 deletions
|
@ -6007,7 +6007,6 @@ PHP_FUNCTION(parse_ini_file)
|
||||||
|
|
||||||
array_init(return_value);
|
array_init(return_value);
|
||||||
if (zend_parse_ini_file(&fh, 0, scanner_mode, ini_parser_cb, return_value TSRMLS_CC) == FAILURE) {
|
if (zend_parse_ini_file(&fh, 0, scanner_mode, ini_parser_cb, return_value TSRMLS_CC) == FAILURE) {
|
||||||
zend_hash_destroy(Z_ARRVAL_P(return_value));
|
|
||||||
zval_dtor(return_value);
|
zval_dtor(return_value);
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue