diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-27 10:35:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-06-27 10:35:48 +0000 |
commit | ad54170d450b158ab68109a9c33085a81ae0bebe (patch) | |
tree | 645d4f009d2a912a75c69833caaa88020218ce9b /usr.bin/ssh/auth2-none.c | |
parent | cdbde757a7637fb84cdd320598a7d040808fc617 (diff) |
use xfree()
Diffstat (limited to 'usr.bin/ssh/auth2-none.c')
-rw-r--r-- | usr.bin/ssh/auth2-none.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth2-none.c b/usr.bin/ssh/auth2-none.c index 0afbc4fe8cc..d54d5173fa5 100644 --- a/usr.bin/ssh/auth2-none.c +++ b/usr.bin/ssh/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'; |