grep/pcre2: prepare to add debugging to pcre2_malloc()
commit588e4fb19190c03319a2b67d447dd40f97d85531
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 18 Feb 2021 00:07:22 +0000 (18 01:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Feb 2021 00:32:19 +0000 (17 16:32 -0800)
tree6f0e118ffe8f836b484229d132f886a00b43b8e7
parent47eebd2fd2c576377f40555c539c5fc56af060a0
grep/pcre2: prepare to add debugging to pcre2_malloc()

Change pcre2_malloc() in a way that'll make it easier for a debugging
fprintf() to spew out the allocated pointer.

This doesn't introduce any functional change, it just makes a
subsequent commit's diff easier to read. Changes code added in
513f2b0bbd4 (grep: make PCRE2 aware of custom allocator, 2019-10-16).

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