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: NPhillip Wood <phillip.wood@dunelm.org.uk> Reviewed-by: NStefan Beller <sbeller@google.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录