Skip to content

Commit

Permalink
backport the line from trunk and fix uninitialized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Nov 19, 2011
1 parent b141fb1 commit 51a4ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/mbstring/oniguruma/regparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 51a4ae6

Please sign in to comment.