]> andersk Git - openssh.git/blobdiff - sftp-int.c
- (stevesk) [auth1.c] fix password auth for protocol 1 when
[openssh.git] / sftp-int.c
index 5de93891a70dd19ec88a5bef4df78f24b224a301..46cbd4a129eb59cbf66cce1b39626537d0d50a41 100644 (file)
@@ -26,7 +26,7 @@
 /* XXX: recursive operations */
 
 #include "includes.h"
-RCSID("$OpenBSD: sftp-int.c,v 1.44 2002/02/13 00:59:23 djm Exp $");
+RCSID("$OpenBSD: sftp-int.c,v 1.45 2002/03/19 06:32:56 mpech Exp $");
 
 #include "buffer.h"
 #include "xmalloc.h"
@@ -886,8 +886,10 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2)
                                    file2);
 
                        parse_dispatch_command(conn, cmd, &pwd);
+                       xfree(dir);
                        return;
                }
+               xfree(dir);
        }
 #if HAVE_SETVBUF
        setvbuf(stdout, NULL, _IOLBF, 0);
This page took 0.032769 seconds and 4 git commands to generate.