summaryrefslogtreecommitdiffstats
path: root/auth2-none.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 02:06:15 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 02:06:15 +0200
commiteec16fcb2787921144474bfad70a11908b103e84 (patch)
tree221b59d267605d0b0dba84e15f4cb1085640c383 /auth2-none.c
parent - deraadt@cvs.openbsd.org 2002/06/27 09:08:00 (diff)
downloadopenssh-eec16fcb2787921144474bfad70a11908b103e84.tar.xz
openssh-eec16fcb2787921144474bfad70a11908b103e84.zip
- deraadt@cvs.openbsd.org 2002/06/27 10:35:47
[auth2-none.c monitor.c sftp-client.c] use xfree()
Diffstat (limited to 'auth2-none.c')
-rw-r--r--auth2-none.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-none.c b/auth2-none.c
index 720d3c10f..c07b2dd81 100644
--- a/auth2-none.c
+++ b/auth2-none.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2-none.c,v 1.3 2002/06/19 00:27:55 deraadt Exp $");
+RCSID("$OpenBSD: auth2-none.c,v 1.4 2002/06/27 10:35:47 deraadt Exp $");
#include "auth.h"
#include "xmalloc.h"
@@ -61,7 +61,7 @@ auth2_read_banner(void)
close(fd);
if (n != len) {
- free(banner);
+ xfree(banner);
return (NULL);
}
banner[n] = '\0';