summaryrefslogtreecommitdiff
path: root/src/commit_graph.c
diff options
context:
space:
mode:
authorMiguel Arroz <750683+arroz@users.noreply.github.com>2021-09-02 18:59:19 -0700
committerMiguel Arroz <750683+arroz@users.noreply.github.com>2021-09-02 18:59:19 -0700
commit27f50a66124054518d5febe984bccad02ee0846b (patch)
tree57de85537333cc610708b08dcfb130e2523e5a9d /src/commit_graph.c
parent4fd32be01c79a5c003bb47674ac1d76d948518b7 (diff)
downloadlibgit2-27f50a66124054518d5febe984bccad02ee0846b.tar.gz
#6028: Check if `threadstate->error_t.message` is not `git_buf__initbuf` before freeing.
This follows the same principle as `buffer.c` where the same check is done before freeing the buffer. It fixes the crash described in #6028.
Diffstat (limited to 'src/commit_graph.c')
0 files changed, 0 insertions, 0 deletions