mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 09:28:06 +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,
|
user,
|
||||||
GIT_CREDTYPE_USERPASS_PLAINTEXT | GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE,
|
GIT_CREDTYPE_USERPASS_PLAINTEXT | GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE,
|
||||||
t->owner->cred_acquire_payload) < 0)
|
t->owner->cred_acquire_payload) < 0)
|
||||||
return -1;
|
goto on_error;
|
||||||
} else {
|
} else {
|
||||||
goto on_error;
|
goto on_error;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user