Return to sshconnect2.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.234, 2015/12/11 02:20:28 | version 1.235, 2015/12/11 02:31:47 | ||
---|---|---|---|
|
|
||
for (id = TAILQ_FIRST(&authctxt->keys); id; | for (id = TAILQ_FIRST(&authctxt->keys); id; | ||
id = TAILQ_FIRST(&authctxt->keys)) { | id = TAILQ_FIRST(&authctxt->keys)) { | ||
TAILQ_REMOVE(&authctxt->keys, id, next); | TAILQ_REMOVE(&authctxt->keys, id, next); | ||
if (id->key) | sshkey_free(id->key); | ||
sshkey_free(id->key); | |||
free(id->filename); | free(id->filename); | ||
free(id); | free(id); | ||
} | } |