diff options
| author | Jeff King <peff@peff.net> | 2012-01-05 17:31:13 -0500 |
|---|---|---|
| committer | Jeff King <peff@peff.net> | 2012-01-05 17:31:13 -0500 |
| commit | 671bbdd37227d3466ba9a8e1ad0cc6c46c701967 (patch) | |
| tree | b29fb2f624c9643ed811d879f88572cc95aa5065 /src/commit.h | |
| parent | f2114d0a35b95efef294f7527dfd64fbef61d993 (diff) | |
| download | libgit2-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 'src/commit.h')
0 files changed, 0 insertions, 0 deletions
