summaryrefslogtreecommitdiff
path: root/pack-write.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-12-07 21:22:49 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-07 12:34:35 -0800
commitaddcf6cfdeb24a2ae589cbdd0ac1e754310b9ca8 (patch)
tree5afdeb850417b4bfc779d1996e809e932150b117 /pack-write.c
parentGit 2.12.5 (diff)
downloadtgif-addcf6cfdeb24a2ae589cbdd0ac1e754310b9ca8.tar.xz
fmt-merge-msg: avoid leaking strbuf in shortlog()
Use string_list_append_nodup() instead of string_list_append() to hand over ownership of a detached strbuf and thus avoid leaking its memory. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-write.c')
0 files changed, 0 insertions, 0 deletions