mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix dangling pointer, phpdbg reveals it
This commit is contained in:
parent
47e26cf9db
commit
4b2fb0b4ae
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ void zend_interned_strings_dtor(void)
|
|||
free(CG(known_strings));
|
||||
CG(known_strings) = NULL;
|
||||
CG(known_strings_count) = 0;
|
||||
known_interned_strings = NULL;
|
||||
known_interned_strings_count = 0;
|
||||
}
|
||||
|
||||
static zend_string *zend_new_interned_string_int(zend_string *str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue