Re: [PATCH 1/6] xdiff/xmacros.h: remove unused XDL_PTRFREE
- From
Jeff King <peff@peff.net>
- Date
- Nov 19, 2021, 14:32 UTC
- Message-ID
- <YZe1fcGztalCRnb4@coredump.intra.peff.net>
- In-Reply-To
- <patch-1.6-32bb8ad4de0-20211119T124420Z-avarab@gmail.com>
On Fri, Nov 19, 2021 at 01:46:21PM +0100, Ævar Arnfjörð Bjarmason wrote:
> 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.
Makes sense. Even if we wanted to use it, it is equivalent to our own FREE_AND_NULL() anyway (since xdl_free() is really just an alias for free()).
-Peff