mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Reset MBREX(search_re) in RSHUTDOWN
This commit is contained in:
commit
22d2a80031
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ PHP_RSHUTDOWN_FUNCTION(mb_regex)
|
|||
ZVAL_UNDEF(&MBREX(search_str));
|
||||
}
|
||||
MBREX(search_pos) = 0;
|
||||
MBREX(search_re) = NULL;
|
||||
|
||||
if (MBREX(search_regs) != NULL) {
|
||||
onig_region_free(MBREX(search_regs), 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue