summaryrefslogtreecommitdiff
path: root/git-repack.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-02-23 12:59:17 +0100
committerJunio C Hamano <gitster@pobox.com>2016-02-23 12:58:26 -0800
commit4867f1184c943f7738bb7b42cab2e62cf16cdb18 (patch)
tree170a9a156b6e224cfa133f7182363e02b44f0f14 /git-repack.sh
parent833e48259e23aea76f3765d28d1b2200332301f7 (diff)
downloadgit-ps/plug-xdl-merge-leak.tar.gz
xdiff/xmerge: fix memory leak in xdl_mergeps/plug-xdl-merge-leak
When building the script for the second file that is to be merged we have already allocated memory for data structures related to the first file. When we encounter an error in building the second script we only free allocated memory related to the second file before erroring out. Fix this memory leak by also releasing allocated memory related to the first file. Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-repack.sh')
0 files changed, 0 insertions, 0 deletions