Add pcre2_jit_free_unused_memory() to pcre2grep, for tidiness.
This commit is contained in:
parent
9a9fdf3037
commit
66cd7df514
|
@ -55,6 +55,8 @@ limit exceeded" errors.
|
|||
13. Add "kibibytes" to the heap limit output from pcre2test -C to make the
|
||||
units clear.
|
||||
|
||||
14. Add a call to pcre2_jit_free_unused_memory() in pcre2grep, for tidiness.
|
||||
|
||||
|
||||
Version 10.32 10-September-2018
|
||||
-------------------------------
|
||||
|
|
|
@ -4302,6 +4302,7 @@ if (show_total_count && counts_printed != 1 && filenames != FN_NOMATCH_ONLY)
|
|||
|
||||
EXIT:
|
||||
#ifdef SUPPORT_PCRE2GREP_JIT
|
||||
pcre2_jit_free_unused_memory(NULL);
|
||||
if (jit_stack != NULL) pcre2_jit_stack_free(jit_stack);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue