mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed double-free
This commit is contained in:
parent
2f697ef8af
commit
e806cb732a
1 changed files with 4 additions and 0 deletions
|
@ -3712,6 +3712,10 @@ static int accel_preload(const char *config)
|
||||||
zend_string *filename;
|
zend_string *filename;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
/* Release stored values to avoid dangling pointers */
|
||||||
|
zend_hash_graceful_reverse_destroy(&EG(symbol_table));
|
||||||
|
zend_hash_init(&EG(symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0);
|
||||||
|
|
||||||
preload_link();
|
preload_link();
|
||||||
preload_remove_empty_includes();
|
preload_remove_empty_includes();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue