git-commit-vandalism/builtin
Ramsay Jones 4e2d094dde 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>
2012-09-04 13:34:46 -07:00
..
add.c Call git_pathdup() rather than xstrdup(git_path("...")) 2012-09-04 13:34:46 -07:00
annotate.c
apply.c Merge branch 'tg/ce-namelen-field' 2012-07-23 20:55:21 -07:00
archive.c
bisect--helper.c
blame.c
branch.c Call mkpathdup() rather than xstrdup(mkpath(...)) 2012-09-04 13:34:46 -07:00
bundle.c
cat-file.c Merge branch 'jc/sha1-name-more' 2012-07-22 12:55:07 -07:00
check-attr.c
check-ref-format.c
checkout-index.c
checkout.c Merge branch 'jk/maint-checkout-orphan-check-fix' 2012-07-27 21:11:34 -07:00
clean.c
clone.c Call mkpathdup() rather than xstrdup(mkpath(...)) 2012-09-04 13:34:46 -07:00
column.c
commit-tree.c Merge branch 'kk/maint-commit-tree' 2012-07-23 20:55:54 -07:00
commit.c Merge branch 'jk/maint-commit-check-committer-early' 2012-07-24 14:05:18 -07:00
config.c config: fix several access(NULL) calls 2012-07-16 09:59:06 -07:00
count-objects.c
credential.c
describe.c
diff-files.c
diff-index.c
diff-tree.c
diff.c
fast-export.c
fetch-pack.c
fetch.c
fmt-merge-msg.c
for-each-ref.c
fsck.c
gc.c
grep.c
hash-object.c
help.c
index-pack.c
init-db.c
log.c Merge branch 'jc/sha1-name-more' 2012-07-22 12:55:07 -07:00
ls-files.c
ls-remote.c
ls-tree.c
mailinfo.c
mailsplit.c
merge-base.c
merge-file.c
merge-index.c
merge-ours.c
merge-recursive.c
merge-tree.c
merge.c
mktag.c
mktree.c
mv.c
name-rev.c
notes.c
pack-objects.c Merge branch 'jc/sha1-name-more' 2012-07-22 12:55:07 -07:00
pack-redundant.c
pack-refs.c
patch-id.c
prune-packed.c
prune.c Call mkpathdup() rather than xstrdup(mkpath(...)) 2012-09-04 13:34:46 -07:00
push.c
read-tree.c
receive-pack.c
reflog.c
remote-ext.c
remote-fd.c
remote.c
replace.c
rerere.c
reset.c Merge branch 'jc/sha1-name-more' 2012-07-22 12:55:07 -07:00
rev-list.c
rev-parse.c Merge branch 'jc/sha1-name-more' 2012-07-22 12:55:07 -07:00
revert.c
rm.c
send-pack.c
shortlog.c
show-branch.c
show-ref.c
stripspace.c
symbolic-ref.c
tag.c
tar-tree.c
unpack-file.c
unpack-objects.c
update-index.c
update-ref.c
update-server-info.c
upload-archive.c
var.c
verify-pack.c
verify-tag.c
write-tree.c