grep/pcre2: move definitions of pcre2_{malloc,free}
commitc1760352e0b27cfbdffd97dec50a9eb552318993
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 18 Feb 2021 00:07:28 +0000 (18 01:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Feb 2021 00:32:19 +0000 (17 16:32 -0800)
treed26cbe3b39932bcfb3f48dfde97a0a274502eb3a
parentcbe81e653fa1adc6b4e09d881628074f7448289a
grep/pcre2: move definitions of pcre2_{malloc,free}

Move the definitions of the pcre2_{malloc,free} functions above the
compile_pcre2_pattern() function they're used in.

Before the preceding commit they used to be needed earlier, but now we
can move them to be adjacent to the other PCREv2 functions.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c