Commit b618db52 authored by Niels Möller's avatar Niels Möller
Browse files

(read_host_key): Fixed string leak.

Rev: src/server.c:1.73
parent dfd4aba5
......@@ -213,6 +213,8 @@ read_host_key(const char *file,
s = spki_make_signer(signature_algorithms,
contents,
&algorithm_name);
lsh_string_free(contents);
if (!s)
{
werror("Invalid host key\n");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment