]> Kevux Git Server - rit/commit
reftable: fix resource leak blocksource.c
authorHan-Wen Nienhuys <hanwen@google.com>
Thu, 20 Jan 2022 15:12:02 +0000 (15:12 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jan 2022 19:31:52 +0000 (11:31 -0800)
commit27e27ee2249f617b529ac5c9c419d3961885994b
tree70a1255702ee070abafc74dd1a2fde28ad90478b
parent24d4d38c0b32fd4eb075af89d7b744c5647db5c2
reftable: fix resource leak blocksource.c

This would be triggered in the unlikely event of fstat() failing on an
opened file.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/blocksource.c