mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
backport the line from trunk and fix uninitialized variables
This commit is contained in:
parent
b141fb1afb
commit
51a4ae6576
1 changed files with 1 additions and 0 deletions
|
@ -4980,6 +4980,7 @@ parse_exp(Node** np, OnigToken* tok, int term,
|
|||
|
||||
CCLASS_SET_SHARE(&(NCCLASS(*np)));
|
||||
new_key = (type_cclass_key* )xmalloc(sizeof(type_cclass_key));
|
||||
xmemcpy(new_key, &key, sizeof(type_cclass_key));
|
||||
onig_st_add_direct(OnigTypeCClassTable, (st_data_t )new_key,
|
||||
(st_data_t )*np);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue