summaryrefslogtreecommitdiff
path: root/sftp-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-int.c')
-rw-r--r--sftp-int.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sftp-int.c b/sftp-int.c
index 5de93891a..46cbd4a12 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -26,7 +26,7 @@
26/* XXX: recursive operations */ 26/* XXX: recursive operations */
27 27
28#include "includes.h" 28#include "includes.h"
29RCSID("$OpenBSD: sftp-int.c,v 1.44 2002/02/13 00:59:23 djm Exp $"); 29RCSID("$OpenBSD: sftp-int.c,v 1.45 2002/03/19 06:32:56 mpech Exp $");
30 30
31#include "buffer.h" 31#include "buffer.h"
32#include "xmalloc.h" 32#include "xmalloc.h"
@@ -886,8 +886,10 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2)
886 file2); 886 file2);
887 887
888 parse_dispatch_command(conn, cmd, &pwd); 888 parse_dispatch_command(conn, cmd, &pwd);
889 xfree(dir);
889 return; 890 return;
890 } 891 }
892 xfree(dir);
891 } 893 }
892#if HAVE_SETVBUF 894#if HAVE_SETVBUF
893 setvbuf(stdout, NULL, _IOLBF, 0); 895 setvbuf(stdout, NULL, _IOLBF, 0);