summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp-client.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-27 10:35:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-27 10:35:48 +0000
commitad54170d450b158ab68109a9c33085a81ae0bebe (patch)
tree645d4f009d2a912a75c69833caaa88020218ce9b /usr.bin/ssh/sftp-client.c
parentcdbde757a7637fb84cdd320598a7d040808fc617 (diff)
use xfree()
Diffstat (limited to 'usr.bin/ssh/sftp-client.c')
-rw-r--r--usr.bin/ssh/sftp-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c
index 1a8cf150320..9741e022dce 100644
--- a/usr.bin/ssh/sftp-client.c
+++ b/usr.bin/ssh/sftp-client.c
@@ -28,7 +28,7 @@
/* XXX: copy between two remote sites */
#include "includes.h"
-RCSID("$OpenBSD: sftp-client.c,v 1.33 2002/06/23 09:30:14 deraadt Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.34 2002/06/27 10:35:47 deraadt Exp $");
#include <sys/queue.h>
@@ -1091,7 +1091,7 @@ do_upload(struct sftp_conn *conn, char *local_path, char *remote_path,
debug3("In write loop, ack for %u %u bytes at %llu",
ack->id, ack->len, (unsigned long long)ack->offset);
++ackid;
- free(ack);
+ xfree(ack);
}
offset += len;
}