diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-10-02 12:55:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-02 07:53:51 -0700 |
| commit | 7f0969febf974f017b92e7152a17c98105583167 (patch) | |
| tree | 0895b55445927f523398528c8c152d2564652317 /t/unit-tests | |
| parent | a5a15a4514f45c4ba8e901675951bfe551d77fae (diff) | |
reftable: introduce `reftable_strdup()`
The reftable library provides the ability to swap out allocators. There
is a gap here though, because we continue to use `xstrdup()` even in the
case where all the other allocators have been swapped out.
Introduce `reftable_strdup()` that uses `reftable_malloc()` to do the
allocation.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions
