summaryrefslogtreecommitdiff
path: root/Documentation/git-write-tree.txt
diff options
context:
space:
mode:
authorLibravatar Martin Ågren <martin.agren@gmail.com>2017-09-09 08:57:16 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-10 16:36:58 +0900
commit851e1fbd01250f56a6e479e1addada220a56e1f7 (patch)
treec4e44d4a0281378c83cc09983e01c66ede74f88c /Documentation/git-write-tree.txt
parentrefs/files-backend: add longer-scoped copy of string to list (diff)
downloadtgif-851e1fbd01250f56a6e479e1addada220a56e1f7.tar.xz
refs/files-backend: fix memory leak in lock_ref_for_update
After the previous patch, none of the functions we call hold on to `referent.buf`, so we can safely release the string buffer before returning. Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Martin Ågren <martin.agren@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-write-tree.txt')
0 files changed, 0 insertions, 0 deletions