]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/pq: handle allocation failures when adding entries
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:56:22 +0000 (12:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:55 +0000 (07:53 -0700)
commitd0501c8c9d0b67587e112bbe2a85746c7c11a9e8
tree1f17b61dcd6d590b940b3354625b99d0562d77d4
parent2d5dbb37b284e3ca78137ec0f8a3d9ceef78877c
reftable/pq: handle allocation failures when adding entries

Handle allocation failures when adding entries to the pqueue. Adapt its
only caller accordingly.

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