Fixed a small memory leak in pcre2test (convert contexts).

This commit is contained in:
Philip.Hazel 2017-09-18 15:51:44 +00:00
parent 897d547046
commit 8bbf2b1924
2 changed files with 5 additions and 1 deletions

View File

@ -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
----------------------------

View File

@ -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