mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-24 18:02:30 +00:00
local: fix memory leak
This commit is contained in:
parent
9a50026b19
commit
3dee36557e
@ -227,6 +227,7 @@ static int local_negotiate_fetch(
|
||||
git_oid_cpy(&rhead->loid, git_object_id(obj));
|
||||
else if (error != GIT_ENOTFOUND)
|
||||
return error;
|
||||
git_object_free(obj);
|
||||
giterr_clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user