1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-09-04 04:42:09 +03:00

Fixed memory leak in ssh_is_server_known()

This commit is contained in:
Aris Adamantiadis
2009-06-22 23:30:50 +02:00
parent 8960992267
commit 8724f97a19

View File

@@ -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);