column: release strbuf and string_list after use
commitcd3c28c53addae7942968f5f15854f8ce44df3ff
authorRené Scharfe <l.s.r@web.de>
Sun, 26 Nov 2023 11:57:36 +0000 (26 12:57 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Nov 2023 00:59:56 +0000 (27 09:59 +0900)
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