summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-01-05 17:31:13 -0500
committerJeff King <peff@peff.net>2012-01-05 17:31:13 -0500
commit671bbdd37227d3466ba9a8e1ad0cc6c46c701967 (patch)
treeb29fb2f624c9643ed811d879f88572cc95aa5065 /include/git2/commit.h
parentf2114d0a35b95efef294f7527dfd64fbef61d993 (diff)
downloadlibgit2-671bbdd37227d3466ba9a8e1ad0cc6c46c701967.tar.gz
reflog_write: don't access free()'d memory
We get the oid of a reference, free the reference, then convert the oid to a string. We need to convert the oid before freeing the memory.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions