Files
git/reftable
Lidong Yan c8e752eaef reftable/writer: fix memory leak when padded_write() fails
In reftable/writer.c:padded_write(), if w->writer failed, zeroed
allocated in `reftable_calloc` will leak. w->writer could be
`reftable_write_data` in reftable/stack.c, and could fail due to
some write error. Simply add reftable_free(zeroed) will solve this
problem.

Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-05-12 09:19:49 -07:00
..
2025-02-06 14:56:45 -08:00
2024-12-28 08:00:44 -08:00
2025-02-06 14:56:45 -08:00
2024-11-26 08:39:38 +09:00