]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: fix calls to free(3P)
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:56:33 +0000 (12:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:56 +0000 (07:53 -0700)
commitdaa59e9c439ce0bea7fecdf4ae6bb7b9e9400b00
tree7dbc582e7495483089c15ed888dbc69ced0e0940
parent12b90780667ac1e1235ec4106d94c558a28880f7
reftable: fix calls to free(3P)

There are a small set of calls to free(3P) in the reftable library. As
the reftable allocators are pluggable we should rather call the reftable
specific function, which is `reftable_free()`.

Convert the code accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack.c
t/unit-tests/t-reftable-readwrite.c