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

[PATCH] fixed Windows compile


Signed-off-by: Jeremy Cross <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);
-- 
2.9.0.windows.1

<<attachment: winmail.dat>>


Archive administrator: postmaster@lists.cynapses.org