summaryrefslogtreecommitdiff
path: root/t/t4252/file-2-0
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsay1.demon.co.uk>2012-09-04 18:31:14 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-04 13:34:46 -0700
commit4e2d094dde4f078245d057dd6111ab9d013ae6d0 (patch)
tree208226504d771a78580d6f8a78277134c3b3ecc1 /t/t4252/file-2-0
parentCall git_pathdup() rather than xstrdup(git_path("...")) (diff)
downloadtgif-4e2d094dde4f078245d057dd6111ab9d013ae6d0.tar.xz
Call mkpathdup() rather than xstrdup(mkpath(...))
In addition to updating the xstrdup(mkpath(...)) call sites with mkpathdup(), we also fix a memory leak (in merge_3way()) caused by neglecting to free the memory allocated to the 'base_name' variable. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252/file-2-0')
0 files changed, 0 insertions, 0 deletions