diff options
Diffstat (limited to 'libssh/auth.c')
-rw-r--r-- | libssh/auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/auth.c b/libssh/auth.c index d8ff54c2..105272c2 100644 --- a/libssh/auth.c +++ b/libssh/auth.c @@ -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; |