summaryrefslogtreecommitdiffstats
path: root/contrib/bind/lib/irs/irp_pw.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
committernectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
commitebeabb1ba32f14e308ae9aff9a2a7151265259cf (patch)
tree71ba64d0a82be4894e23f6d65f36b61203ec3875 /contrib/bind/lib/irs/irp_pw.c
parent1385a0dca8f9199ece158336f4c6a9f1e2e03c3e (diff)
downloadFreeBSD-src-ebeabb1ba32f14e308ae9aff9a2a7151265259cf.zip
FreeBSD-src-ebeabb1ba32f14e308ae9aff9a2a7151265259cf.tar.gz
Import of ISC BIND 8.3.1-REL.
Diffstat (limited to 'contrib/bind/lib/irs/irp_pw.c')
-rw-r--r--contrib/bind/lib/irs/irp_pw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/bind/lib/irs/irp_pw.c b/contrib/bind/lib/irs/irp_pw.c
index f23cb73..b659caa 100644
--- a/contrib/bind/lib/irs/irp_pw.c
+++ b/contrib/bind/lib/irs/irp_pw.c
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: irp_pw.c,v 8.1 1999/01/18 07:46:54 vixie Exp $";
+static const char rcsid[] = "$Id: irp_pw.c,v 8.2 2001/11/01 07:29:26 marka Exp $";
#endif /* LIBC_SCCS and not lint */
/* Extern */
@@ -340,8 +340,10 @@ free_passwd(struct passwd *pw) {
if (pw->pw_passwd != NULL)
free(pw->pw_passwd);
+#ifdef HAVE_PW_CLASS
if (pw->pw_class != NULL)
free(pw->pw_class);
+#endif
if (pw->pw_gecos != NULL)
free(pw->pw_gecos);
OpenPOWER on IntegriCloud