aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-auth.c')
-rw-r--r--tools/gpg-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-auth.c b/tools/gpg-auth.c
index 874861b25..f768215d4 100644
--- a/tools/gpg-auth.c
+++ b/tools/gpg-auth.c
@@ -825,6 +825,7 @@ ssh_authorized_keys (const char *user, struct ssh_key_list **r_ssh_key_list)
{
err = gpg_error (GPG_ERR_LINE_TOO_LONG);
log_error (_("error reading '%s': %s\n"), fname, gpg_strerror (err));
+ release_ssh_key_list (ssh_key_list);
goto leave;
}