]> git.ipfire.org Git - thirdparty/git.git/commit
column: release strbuf and string_list after use
authorRené Scharfe <l.s.r@web.de>
Sun, 26 Nov 2023 11:57:36 +0000 (12:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Nov 2023 00:59:56 +0000 (09:59 +0900)
commitcd3c28c53addae7942968f5f15854f8ce44df3ff
treef4a1c2588c13565532bb2379c76c2f506563c843
parentec583449067bab5b800ecc63926f35c9dae96fa1
column: release strbuf and string_list after use

Releasing strbuf and string_list just before exiting is not strictly
necessary, but it gets rid of false positives reported by leak checkers,
which can then be more easily used to show that the column-printing
machinery behind print_columns() are free of leaks.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/column.c
t/t9002-column.sh