summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2000-12-17 21:10:41 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2000-12-17 21:10:41 +0000
commitb048419e0d44ff30dfac3f443a8b632d06292853 (patch)
tree4bd3a78ecc2299fb73ecb35ad13c6ffad54a02cb
parentfba3cfdef21945e2fcc20b90c782c736577520b8 (diff)
Notes
-rw-r--r--lib/libc/gen/getgrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c
index 1f988644fdf2..5d2a8e1af306 100644
--- a/lib/libc/gen/getgrent.c
+++ b/lib/libc/gen/getgrent.c
@@ -407,7 +407,7 @@ _nis_grscan(rv, cb_data, ap)
if (yp_first(__ypdomain, "group.byname",
&__ypcurrent, &__ypcurrentlen,
&data, &datalen)) {
- if (data);
+ if (data)
free(data);
return NS_UNAVAIL;
}