]> granicus.if.org Git - git/commit
diff --color-moved: fix a memory leak
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Thu, 4 Oct 2018 10:07:45 +0000 (11:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Oct 2018 05:48:21 +0000 (22:48 -0700)
commit47cb16a26447b32f5440c3a109ad5f16a5f735bd
treee2d430245b2613a0e33abb817a3d376b12ca8d5b
parent9c1a6c2bf8375a6652fd98439438e92626a00167
diff --color-moved: fix a memory leak

Free the hashmap items as well as the hashmap itself. This was found
with asan.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c