summaryrefslogtreecommitdiff
path: root/include/git2/sys/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-04-21 15:48:05 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-04-21 15:48:05 +0200
commita15d3537bb52450f75ad63642b6bcbbcc6fdc374 (patch)
tree5b2e7d1d1b6052dfbe04bb5ea0f64ee56d0ad1f5 /include/git2/sys/commit.h
parentbfc50f83f829afe52c10f615c4f7efa478a83098 (diff)
downloadlibgit2-a15d3537bb52450f75ad63642b6bcbbcc6fdc374.tar.gz
sysdir: free the path if we cannot find the file
Returning an error cleared the buf, but this operation does not free the memory associated with it. Use git_buf_free() instead.
Diffstat (limited to 'include/git2/sys/commit.h')
0 files changed, 0 insertions, 0 deletions