Memory leak fix: repair endemic failure to call sftp_pkt_free().
[u/mdw/putty] / psftp.c
diff --git a/psftp.c b/psftp.c
index 2815d35..ead8614 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -25,7 +25,7 @@
  */
 
 static int psftp_connect(char *userhost, char *user, int portnumber);
-static void do_sftp_init(void);
+static int do_sftp_init(void);
 
 /* ----------------------------------------------------------------------
  * sftp client state.