summaryrefslogtreecommitdiff
path: root/walker.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-04-15 21:18:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-04-20 21:38:07 (GMT)
commit1154aa42159383c3339567f6385c21a615c8b93a (patch)
tree99560f14e38408fabe2536983d49e986431a2e09 /walker.c
parentbc6b8fc1300ef79c4b4c3c2a79bb3c1e2e032963 (diff)
downloadgit-1154aa42159383c3339567f6385c21a615c8b93a.zip
git-1154aa42159383c3339567f6385c21a615c8b93a.tar.gz
git-1154aa42159383c3339567f6385c21a615c8b93a.tar.bz2
fmt-merge-msg: plug small leak of commit buffer
A broken or badly formatted commit might not record author or committer lines or we may not find a valid name on them. The function record_person() returned after calling get_commit_buffer() without calling unuse_commit_buffer() on the memory it obtained in such cases, potentially leaking it. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'walker.c')
0 files changed, 0 insertions, 0 deletions