summaryrefslogtreecommitdiff
path: root/include/git2/oidarray.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-03-11 09:07:29 +0100
committerPatrick Steinhardt <ps@pks.im>2016-03-11 09:07:42 +0100
commite756877dbff7b6b706820ce49744808c14941c32 (patch)
tree68cb9a3a80502f93109e919883fcb84ab793a306 /include/git2/oidarray.h
parent2ba9a0ddacd315dafb54990ff2bfa204e6924016 (diff)
downloadlibgit2-e756877dbff7b6b706820ce49744808c14941c32.tar.gz
tests: nsec: correctly free nsec_path
git_buf_clear does not free allocated memory associated with a git_buf. Use `git_buf_free` instead to correctly free its memory and plug the memory leak.
Diffstat (limited to 'include/git2/oidarray.h')
0 files changed, 0 insertions, 0 deletions