mirror of
https://github.com/php/php-src.git
synced 2026-04-07 16:13:32 +02:00
Fixed invalid free
This commit is contained in:
@@ -36,7 +36,9 @@ void free_zend_constant(zval *zv)
|
||||
} else {
|
||||
zval_internal_dtor(&c->value);
|
||||
}
|
||||
STR_RELEASE(c->name);
|
||||
if (c->name) {
|
||||
STR_RELEASE(c->name);
|
||||
}
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user