mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 19:51:31 +00:00
Fix a double free issue in git_blame__alloc
.
`git_blame_free` already calls `git__free` on `gbr`.
This commit is contained in:
parent
ddf1b1ffa5
commit
b0b32b4321
@ -121,7 +121,6 @@ git_blame* git_blame__alloc(
|
||||
git_vector_insert(&gbr->paths, git__strdup(path)) < 0)
|
||||
{
|
||||
git_blame_free(gbr);
|
||||
git__free(gbr);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user