From b048419e0d44ff30dfac3f443a8b632d06292853 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Sun, 17 Dec 2000 21:10:41 +0000 Subject: [PATCH] Fix mostly harmless typo: if (data); free(data); Discovered by: emacs cc-mode --- lib/libc/gen/getgrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }