summaryrefslogtreecommitdiff
path: root/auth2-none.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:06:15 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 00:06:15 +0000
commiteec16fcb2787921144474bfad70a11908b103e84 (patch)
tree221b59d267605d0b0dba84e15f4cb1085640c383 /auth2-none.c
parent35a2cb9b41c2828ad2585b01689281bb22e29596 (diff)
- 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 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2-none.c,v 1.3 2002/06/19 00:27:55 deraadt Exp $"); 26RCSID("$OpenBSD: auth2-none.c,v 1.4 2002/06/27 10:35:47 deraadt Exp $");
27 27
28#include "auth.h" 28#include "auth.h"
29#include "xmalloc.h" 29#include "xmalloc.h"
@@ -61,7 +61,7 @@ auth2_read_banner(void)
61 close(fd); 61 close(fd);
62 62
63 if (n != len) { 63 if (n != len) {
64 free(banner); 64 xfree(banner);
65 return (NULL); 65 return (NULL);
66 } 66 }
67 banner[n] = '\0'; 67 banner[n] = '\0';