Fix a probable leak.

This commit is contained in:
Etienne Samson 2013-07-03 22:02:44 +02:00
parent 219f318c05
commit f6bd086335

View File

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