diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-04 00:06:15 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-04 00:06:15 +0000 |
commit | eec16fcb2787921144474bfad70a11908b103e84 (patch) | |
tree | 221b59d267605d0b0dba84e15f4cb1085640c383 /auth2-none.c | |
parent | 35a2cb9b41c2828ad2585b01689281bb22e29596 (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.c | 4 |
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'; |