diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-10-02 12:56:36 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-02 07:53:56 -0700 |
| commit | 24e0ade65baabccc3d6fcbde2f9c6eca0a0b7321 (patch) | |
| tree | 009dab806f7c2ebb745531b750147d4cae3c5286 /diffcore-rename.c | |
| parent | reftable: fix calls to free(3P) (diff) | |
| download | git-24e0ade65baabccc3d6fcbde2f9c6eca0a0b7321.tar.gz git-24e0ade65baabccc3d6fcbde2f9c6eca0a0b7321.zip | |
reftable: introduce `REFTABLE_FREE_AND_NULL()`
We have several calls to `FREE_AND_NULL()` in the reftable library,
which of course uses free(3P). As the reftable allocators are pluggable
we should rather call the reftable specific function, which is
`reftable_free()`.
Introduce a new macro `REFTABLE_FREE_AND_NULL()` and adapt the callsites
accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rename.c')
0 files changed, 0 insertions, 0 deletions
