diff.c: free "buf" in diff_words_flush()
commita18d66cefb9e5ee4fd49be1d60e90523cd89ca0f
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 4 Mar 2022 18:32:06 +0000 (4 19:32 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Mar 2022 21:24:18 +0000 (4 13:24 -0800)
tree2ea7744899680fba7ce823d8378820ed191a0d2b
parente69fe2e460080771e1de43f2e8b76adda2252c5f
diff.c: free "buf" in diff_words_flush()

Amend the freeing logic added in e6e045f8031 (diff.c: buffer all
output if asked to, 2017-06-29) to free the containing "buf" in
addition to its members.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c