summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar Mike Hommey <mh@glandium.org>2019-08-25 14:18:18 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-26 10:29:38 -0700
commit779ad6641b9a6443eaec75439b3374b1a7b8794c (patch)
treee1ce9a7d64df97bd2cf0d4de9ad1bc854054079e /git.c
parentGit 2.22.1 (diff)
downloadtgif-779ad6641b9a6443eaec75439b3374b1a7b8794c.tar.xz
notes: avoid leaking duplicate entries
When add_note is called multiple times with the same key/value pair, the leaf_node it creates is leaked by notes_tree_insert. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions