Fix a double free issue in git_blame__alloc.

`git_blame_free` already calls `git__free` on `gbr`.
This commit is contained in:
Arthur Schreiber 2014-01-13 22:51:10 +01:00
parent ddf1b1ffa5
commit b0b32b4321

View File

@ -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;
}