1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Fix a batch of resource leaks spotted by Coverity.

This commit is contained in:
Simon Tatham
2022-09-07 13:52:58 +01:00
parent 16d5bb7269
commit 1f6d93f0c8
4 changed files with 12 additions and 2 deletions

View File

@ -962,6 +962,7 @@ void ssh2kex_coroutine(struct ssh2_transport_state *s, bool *aborted)
} else {
ppl_logevent("Rejected host key certificate: %s",
error->s);
strbuf_free(error);
/* now fall through into normal host key checking */
}
}