diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 02:47:28 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-22 02:47:28 +0000 |
commit | cb1f60efb552d1f12e4a92fdf4939faa18394f27 (patch) | |
tree | 6d82592347dbd584904245b4bd950584bf58d3dd | |
parent | 85520a67051b02a8c9975f048227c0531d25b243 (diff) |
- mpech@cvs.openbsd.org 2002/03/19 06:32:56
[sftp-int.c]
use xfree() after xstrdup().
markus@ ok
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sftp-int.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -81,6 +81,11 @@ | |||
81 | - stevesk@cvs.openbsd.org 2002/03/19 05:23:08 | 81 | - stevesk@cvs.openbsd.org 2002/03/19 05:23:08 |
82 | [sshd.8] | 82 | [sshd.8] |
83 | Banner has no default. | 83 | Banner has no default. |
84 | - mpech@cvs.openbsd.org 2002/03/19 06:32:56 | ||
85 | [sftp-int.c] | ||
86 | use xfree() after xstrdup(). | ||
87 | |||
88 | markus@ ok | ||
84 | 20020317 | 89 | 20020317 |
85 | - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted, | 90 | - (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted, |
86 | warn if directory does not exist. Put system directories in front of | 91 | warn if directory does not exist. Put system directories in front of |
@@ -7926,4 +7931,4 @@ | |||
7926 | - Wrote replacements for strlcpy and mkdtemp | 7931 | - Wrote replacements for strlcpy and mkdtemp |
7927 | - Released 1.0pre1 | 7932 | - Released 1.0pre1 |
7928 | 7933 | ||
7929 | $Id: ChangeLog,v 1.1948 2002/03/22 02:44:40 mouring Exp $ | 7934 | $Id: ChangeLog,v 1.1949 2002/03/22 02:47:28 mouring Exp $ |
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" |
29 | RCSID("$OpenBSD: sftp-int.c,v 1.44 2002/02/13 00:59:23 djm Exp $"); | 29 | RCSID("$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); |