mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-09-07 02:46:38 +03:00
Fixed memory leak in ssh_is_server_known()
This commit is contained in:
@@ -1418,6 +1418,8 @@ int ssh_is_server_known(SSH_SESSION *session) {
|
|||||||
/* We override the status with the wrong key state */
|
/* We override the status with the wrong key state */
|
||||||
ret = SSH_SERVER_KNOWN_CHANGED;
|
ret = SSH_SERVER_KNOWN_CHANGED;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
tokens_free(tokens);
|
||||||
}
|
}
|
||||||
} while (1);
|
} while (1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user