mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 17:34:20 +00:00
clone: Fix a memory leak
This commit is contained in:
parent
09556895b7
commit
d1aee4775a
@ -333,6 +333,7 @@ static int setup_remotes_and_fetch(
|
||||
}
|
||||
git_remote_disconnect(origin);
|
||||
}
|
||||
git_remote_free(origin);
|
||||
}
|
||||
|
||||
return retcode;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user