aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-10-02 12:55:38 +0200
committerJunio C Hamano <gitster@pobox.com>2024-10-02 07:53:51 -0700
commiteef7bcdafe0037f14a96c564ace899342b9ed0fb (patch)
treef22f256d6bed8a3110af520cbb60a79da3f64657 /contrib/persistent-https
parentreftable/basics: handle allocation failures in `reftable_calloc()` (diff)
downloadgit-eef7bcdafe0037f14a96c564ace899342b9ed0fb.tar.gz
git-eef7bcdafe0037f14a96c564ace899342b9ed0fb.zip
reftable/basics: handle allocation failures in `parse_names()`
Handle allocation failures in `parse_names()` by returning `NULL` in case any allocation fails. While at it, refactor the function to return the array directly instead of assigning it to an out-pointer. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions