]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff/xmacros.h: remove unused XDL_PTRFREE
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 31 Mar 2022 01:45:52 +0000 (03:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 17:16:06 +0000 (10:16 -0700)
commit8c0cfadd9a8afd1accd05e5a31e044620726bcc8
tree582feff644e484c6c69af4e732e2d059974804c9
parent7146f271c6077ff35e33684b8e7de48dca4e9dcf
xdiff/xmacros.h: remove unused XDL_PTRFREE

This macro was added in 3443546f6ef (Use a *real* built-in diff
generator, 2006-03-24), but none of the xdiff code uses it, it uses
xdl_free() directly.

If we need its functionality again we'll use the FREE_AND_NULL() macro
added in 481df65f4f7 (git-compat-util: add a FREE_AND_NULL() wrapper
around free(ptr); ptr = NULL, 2017-06-15).

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