]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/iter: handle allocation failures when creating indexed table iter
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:56:14 +0000 (12:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:54 +0000 (07:53 -0700)
commitcc6a9af5d729c054b86455eaa9a5cf7aa3e92288
tree214f74cee6fe6f598d25a3bd965d2b09a9bd0926
parent5b67cc6477ce88c499caab5ebcebd492ec78932d
reftable/iter: handle allocation failures when creating indexed table iter

Handle allocation failures in `new_indexed_table_ref_iter()`. While at
it, rename the function to match our coding style.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/iter.c
reftable/iter.h
reftable/reader.c