mirror of
https://github.com/curl/curl.git
synced 2026-07-30 15:38:54 +03:00
bundles connection caching: some out of memory handling fixes
This commit is contained in:
parent
b7a1eccce8
commit
eafccdb315
5 changed files with 68 additions and 19 deletions
|
|
@ -2495,6 +2495,9 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
#ifdef HAVE_LIBSSH2_KNOWNHOST_API
|
||||
DEBUGASSERT(sshc->kh == NULL);
|
||||
#endif
|
||||
#ifdef HAVE_LIBSSH2_AGENT_API
|
||||
DEBUGASSERT(sshc->ssh_agent == NULL);
|
||||
#endif
|
||||
|
||||
Curl_safefree(sshc->rsa_pub);
|
||||
Curl_safefree(sshc->rsa);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue