diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-10-02 12:55:40 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-02 07:53:52 -0700 |
| commit | ea194f9c4690de89f9f776517b1c76d706ab0ae8 (patch) | |
| tree | f6a09a259161886daa0057bcc6e5ebd28d00fee0 /t/unit-tests/t-strbuf.c | |
| parent | eef7bcdafe0037f14a96c564ace899342b9ed0fb (diff) | |
reftable/record: handle allocation failures on copy
Handle allocation failures when copying records. While at it, convert
from `xstrdup()` to `reftable_strdup()`. Adapt callsites to check for
error codes.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-strbuf.c')
0 files changed, 0 insertions, 0 deletions
