Merge branch 'ab/grep-pcre2-allocfix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:23 +0000 (14:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 21:00:23 +0000 (14:00 -0700)
commit24119d9d7b686f8f4ad5ac91fab32fd3d4bb67f1
tree3d45f46a26ee904890ceba996c8e012b988263f5
parente8d5a423ca1af3d0ef863ce72108af181e9dd8fd
parentc1760352e0b27cfbdffd97dec50a9eb552318993
Merge branch 'ab/grep-pcre2-allocfix'

Updates to memory allocation code around the use of pcre2 library.

* ab/grep-pcre2-allocfix:
  grep/pcre2: move definitions of pcre2_{malloc,free}
  grep/pcre2: move back to thread-only PCREv2 structures
  grep/pcre2: actually make pcre2 use custom allocator
  grep/pcre2: use pcre2_maketables_free() function
  grep/pcre2: use compile-time PCREv2 version test
  grep/pcre2: add GREP_PCRE2_DEBUG_MALLOC debug mode
  grep/pcre2: prepare to add debugging to pcre2_malloc()
  grep/pcre2: correct reference to grep_init() in comment
  grep/pcre2: drop needless assignment to NULL
  grep/pcre2: drop needless assignment + assert() on opt->pcre2
builtin/grep.c
grep.c