summaryrefslogtreecommitdiff
path: root/auth2-none.c
diff options
context:
space:
mode:
authormouring <mouring>2002-07-04 00:06:15 +0000
committermouring <mouring>2002-07-04 00:06:15 +0000
commit1df7f434f2f47ac6a411446a6116ef822fd87572 (patch)
tree093127edf27d9075e636eb04f75dcf272b24c6fe /auth2-none.c
parentb3139b0869a5cf99edbc356fb06bf9fe07abbb01 (diff)
downloadopenssh-1df7f434f2f47ac6a411446a6116ef822fd87572.tar.gz
- 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 720d3c10..c07b2dd8 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';