From f128a0bf9c3ec183f56e5bb09ea303b1c73d6484 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 27 Feb 2018 09:37:48 +0900 Subject: [PATCH] fix GlobalNameIDCounter set to 0 in global_callout_name_table_free() --- src/regparse.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.40.0