[sftp-int.c]
     use xfree() after xstrdup().

     markus@ ok
This commit is contained in:
Ben Lindstrom 2002-03-22 02:47:28 +00:00
parent 85520a6705
commit cb1f60efb5
2 changed files with 9 additions and 2 deletions

View File

@ -81,6 +81,11 @@
- stevesk@cvs.openbsd.org 2002/03/19 05:23:08
[sshd.8]
Banner has no default.
- mpech@cvs.openbsd.org 2002/03/19 06:32:56
[sftp-int.c]
use xfree() after xstrdup().
markus@ ok
20020317
- (tim) [configure.ac] Assume path given with --with-pid-dir=PATH is wanted,
warn if directory does not exist. Put system directories in front of
@ -7926,4 +7931,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1948 2002/03/22 02:44:40 mouring Exp $
$Id: ChangeLog,v 1.1949 2002/03/22 02:47:28 mouring Exp $

View 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);