]> granicus.if.org Git - onig/commitdiff
fix to clear CalloutNameFuncList for onig_end()
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 8 Feb 2018 06:00:54 +0000 (15:00 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 8 Feb 2018 06:00:54 +0000 (15:00 +0900)
src/regparse.c

index 1bb03444a035c228b7650ea9e54eae52c4c9c734..3c56a641daec6fcce26e56f277299abf8b6fe664 100644 (file)
@@ -1461,6 +1461,8 @@ extern int
 onig_callout_names_free(void)
 {
   free_callout_func_list(CalloutNameFuncList);
+  CalloutNameFuncList = 0;
+
   callout_names_free();
   return ONIG_NORMAL;
 }