[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] fixed Windows compile


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);

Follow-Ups:
Re: [PATCH] fixed Windows compileAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org