summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 250278ffe..6c79a7920 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.234 2015/12/11 02:20:28 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.235 2015/12/11 02:31:47 mmcc Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -1418,8 +1418,7 @@ pubkey_cleanup(Authctxt *authctxt)
1418 for (id = TAILQ_FIRST(&authctxt->keys); id; 1418 for (id = TAILQ_FIRST(&authctxt->keys); id;
1419 id = TAILQ_FIRST(&authctxt->keys)) { 1419 id = TAILQ_FIRST(&authctxt->keys)) {
1420 TAILQ_REMOVE(&authctxt->keys, id, next); 1420 TAILQ_REMOVE(&authctxt->keys, id, next);
1421 if (id->key) 1421 sshkey_free(id->key);
1422 sshkey_free(id->key);
1423 free(id->filename); 1422 free(id->filename);
1424 free(id); 1423 free(id);
1425 } 1424 }