mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Nuke zval_reset
This commit is contained in:
parent
4cc86259dd
commit
66d94bc655
14 changed files with 29 additions and 29 deletions
|
@ -401,7 +401,7 @@ static int checkError(pval *value) {
|
|||
if (value->type == IS_EXCEPTION) {
|
||||
php_error(E_WARNING, "%s", value->value.str.val);
|
||||
efree(value->value.str.val);
|
||||
ZVAL_RESET(value);
|
||||
ZVAL_BOOL(value, 0);
|
||||
return 1;
|
||||
};
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue