[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fixed Windows compile
[Thread Prev] | [Thread Next]
- Subject: [PATCH] fixed Windows compile
- From: Jeremy Cross <JCross@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 14 Oct 2016 18:25:45 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Signed-off-by: Jeremy Cross <jcross@xxxxxxxxxx<mailto:jcross@xxxxxxxxxx>> -- src/session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/session.c b/src/session.c index c29af1e..f6d926a 100644 --- a/src/session.c +++ b/src/session.c @@ -270,7 +270,9 @@ void ssh_free(ssh_session session) { ssh_list_free(session->opts.identity); } +#ifndef _WIN32 ssh_agent_state_free (session->agent_state); +#endif session->agent_state = NULL; SAFE_FREE(session->auth_auto_state);
Re: [PATCH] fixed Windows compile | Andreas Schneider <asn@xxxxxxxxxxxxxx> |