From 4cfcd0ad642c274b8fabf8c62668d1605dcadcdd Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Thu, 8 Feb 2018 15:00:54 +0900 Subject: [PATCH] fix to clear CalloutNameFuncList for onig_end() --- src/regparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/regparse.c b/src/regparse.c index 1bb0344..3c56a64 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -1461,6 +1461,8 @@ extern int onig_callout_names_free(void) { free_callout_func_list(CalloutNameFuncList); + CalloutNameFuncList = 0; + callout_names_free(); return ONIG_NORMAL; } -- 2.40.0