diff --git a/ChangeLog b/ChangeLog index 80cecab..d955f0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,8 @@ defined (e.g. by --enable-never-backslash-C). 6. Defined public names for all the pcre2_compile() error numbers, and used the public names in pcre2_convert.c. +7. Fixed a small memory leak in pcre2test (convert contexts). + Version 10.30 14-August-2017 ---------------------------- diff --git a/src/pcre2test.c b/src/pcre2test.c index 88fe6d6..679acc8 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -8511,7 +8511,9 @@ if (jit_stack != NULL) G(pcre2_compile_context_free_,BITS)(G(pat_context,BITS)); \ G(pcre2_compile_context_free_,BITS)(G(default_pat_context,BITS)); \ G(pcre2_match_context_free_,BITS)(G(dat_context,BITS)); \ - G(pcre2_match_context_free_,BITS)(G(default_dat_context,BITS)) + G(pcre2_match_context_free_,BITS)(G(default_dat_context,BITS)); \ + G(pcre2_convert_context_free_,BITS)(G(default_con_context,BITS)); \ + G(pcre2_convert_context_free_,BITS)(G(con_context,BITS)); #ifdef SUPPORT_PCRE2_8 #undef BITS