From: K.Kosako Date: Tue, 27 Feb 2018 00:37:48 +0000 (+0900) Subject: fix GlobalNameIDCounter set to 0 in global_callout_name_table_free() X-Git-Tag: v6.8.0~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f128a0bf9c3ec183f56e5bb09ea303b1c73d6484;p=onig fix GlobalNameIDCounter set to 0 in global_callout_name_table_free() --- diff --git a/src/regparse.c b/src/regparse.c index 213a1c5..f870b5e 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -1260,6 +1260,7 @@ global_callout_name_table_free(void) onig_st_free_table(GlobalCalloutNameTable); GlobalCalloutNameTable = 0; + CalloutNameIDCounter = 0; } return 0; @@ -1326,6 +1327,7 @@ global_callout_name_table_free(void) xfree(GlobalCalloutNameTable); GlobalCalloutNameTable = 0; + CalloutNameIDCounter = 0; } return 0; }