diff options
-rw-r--r-- | libssh/keyfiles.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c index 147719c5..19184271 100644 --- a/libssh/keyfiles.c +++ b/libssh/keyfiles.c @@ -1418,6 +1418,8 @@ int ssh_is_server_known(SSH_SESSION *session) { /* We override the status with the wrong key state */ ret = SSH_SERVER_KNOWN_CHANGED; } + } else { + tokens_free(tokens); } } while (1); |