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

(do_authenticate): Free username and

keyblob on failure.

Rev: src/server_publickey.c:1.21
parent 52485902
......@@ -198,6 +198,9 @@ do_authenticate(struct userauth *s,
}
else
{
lsh_string_free(username);
lsh_string_free(keyblob);
werror("Badly formatted publickey authentication request\n");
PROTOCOL_ERROR(e, "Invalid publickey authentication request");
}
......
Markdown is supported
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