diff options
author | Yang Tse <yangsita@gmail.com> | 2012-12-19 19:52:11 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-12-19 19:53:17 +0100 |
commit | eafccdb3150115e94f16a3a21ea989aeb65a0210 (patch) | |
tree | 2385a66043f2202abd44be144aa26cfb3dc7b320 /lib/ssh.c | |
parent | b7a1eccce8daeb69c9ffedfabc89c353c8be4969 (diff) |
bundles connection caching: some out of memory handling fixes
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 3 |
1 files changed, 3 insertions, 0 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); |