aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2013-07-14 23:35:47 +0200
committerJunio C Hamano <gitster@pobox.com>2013-07-15 09:45:21 -0700
commit70a0cc9e5c62f7b8ce0acc693e10a9e080f187ef (patch)
treee6c6b10460565a844596189d8a83cace4c641d78 /git-compat-util.h
parent5d9cfa29d27156cc9a00c75eaa31b831107ed0b9 (diff)
downloadgit-70a0cc9e5c62f7b8ce0acc693e10a9e080f187ef.tar.gz
git-70a0cc9e5c62f7b8ce0acc693e10a9e080f187ef.tar.xz
commit: Fix a memory leak in determine_author_info
The date variable is assigned new memory via xmemdupz and 2 lines later it is assigned new memory again via xmalloc, but the first assignment is never freed nor used. Signed-off-by: Stefan Beller <stefanbeller@googlemail.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions