Commit b0b32b43 by Arthur Schreiber

Fix a double free issue in `git_blame__alloc`.

`git_blame_free` already calls `git__free` on `gbr`.
parent ddf1b1ff
...@@ -121,7 +121,6 @@ git_blame* git_blame__alloc( ...@@ -121,7 +121,6 @@ git_blame* git_blame__alloc(
git_vector_insert(&gbr->paths, git__strdup(path)) < 0) git_vector_insert(&gbr->paths, git__strdup(path)) < 0)
{ {
git_blame_free(gbr); git_blame_free(gbr);
git__free(gbr);
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment