From ad54170d450b158ab68109a9c33085a81ae0bebe Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 27 Jun 2002 10:35:48 +0000 Subject: use xfree() --- usr.bin/ssh/auth2-none.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/auth2-none.c') 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'; -- cgit v1.2.3