HomePhabricator

auth: Fix memory leak in ssh_userauth_publickey_auto()

Authored by ansasaki on Mar 2 2020, 11:36 AM.

Description

auth: Fix memory leak in ssh_userauth_publickey_auto()

When a key is rejected, free the allocated memory before returning.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnMar 29 2020, 9:58 AM
Parents
rLIBSSH46c54e5ddb36: doc: Fix a doxygen warning
Branches
Unknown
Tags
Unknown