git/t/unit-tests
Patrick Steinhardt 24e0ade65b 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>
2024-10-02 07:53:56 -07:00
..
.gitignore
lib-oid.c t: port helper/test-oid-array.c to unit-tests/t-oid-array.c 2024-09-01 20:43:38 -07:00
lib-oid.h t: port helper/test-oid-array.c to unit-tests/t-oid-array.c 2024-09-01 20:43:38 -07:00
lib-reftable.c reftable/writer: handle allocation failures in `reftable_new_writer()` 2024-10-02 07:53:52 -07:00
lib-reftable.h t/unit-tests: introduce reftable library 2024-09-16 13:57:18 -07:00
t-ctype.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
t-example-decorate.c t-example-decorate: remove test messages 2024-07-30 13:31:46 -07:00
t-hash.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-hashmap.c t-hashmap: stop calling setup() for t_intern() test 2024-08-20 08:33:18 -07:00
t-mem-pool.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-oid-array.c t: port helper/test-oid-array.c to unit-tests/t-oid-array.c 2024-09-01 20:43:38 -07:00
t-oidmap.c
t-oidtree.c
t-prio-queue.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-reftable-basics.c reftable/basics: handle allocation failures in `parse_names()` 2024-10-02 07:53:51 -07:00
t-reftable-block.c reftable: handle trivial allocation failures 2024-10-02 07:53:55 -07:00
t-reftable-merged.c reftable: handle trivial allocation failures 2024-10-02 07:53:55 -07:00
t-reftable-pq.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-reftable-reader.c reftable/reader: make table iterator reseekable 2024-09-16 13:57:19 -07:00
t-reftable-readwrite.c reftable: fix calls to free(3P) 2024-10-02 07:53:56 -07:00
t-reftable-record.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-reftable-stack.c reftable: introduce `REFTABLE_FREE_AND_NULL()` 2024-10-02 07:53:56 -07:00
t-reftable-tree.c reftable/tree: handle allocation failures 2024-10-02 07:53:55 -07:00
t-strbuf.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-strcmp-offset.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-strvec.c Merge branch 'jk/mark-unused-parameters' 2024-08-26 11:32:23 -07:00
t-trailer.c unit-tests: ignore unused argc/argv 2024-08-17 09:46:12 -07:00
t-urlmatch-normalization.c t: migrate t0110-urlmatch-normalization to the new framework 2024-08-20 10:08:28 -07:00
test-lib.c unit-tests: add if_test 2024-07-30 13:32:43 -07:00
test-lib.h Merge branch 'rs/unit-tests-test-run' 2024-08-19 11:07:36 -07:00