mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 05:24:47 +00:00
Fix a probable leak.
This commit is contained in:
parent
219f318c05
commit
f6bd086335
@ -351,7 +351,7 @@ static int _git_ssh_setup_conn(
|
||||
user,
|
||||
GIT_CREDTYPE_USERPASS_PLAINTEXT | GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE,
|
||||
t->owner->cred_acquire_payload) < 0)
|
||||
return -1;
|
||||
goto on_error;
|
||||
} else {
|
||||
goto on_error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user