mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
Fix memory leak.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@526 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -566,6 +566,7 @@ int ssh_userauth_agent_pubkey(SSH_SESSION *session, const char *username,
|
||||
string_free(service);
|
||||
string_free(method);
|
||||
string_free(algo);
|
||||
string_free(key);
|
||||
leave_function();
|
||||
|
||||
return rc;
|
||||
@@ -576,6 +577,7 @@ error:
|
||||
string_free(service);
|
||||
string_free(method);
|
||||
string_free(algo);
|
||||
string_free(key);
|
||||
|
||||
leave_function();
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user