diff options
| author | christos <christos@NetBSD.org> | 2006-03-19 03:08:11 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-03-19 03:08:11 +0000 |
| commit | 8a8a2fc7a2e30b556dc7bd44feb3aa3d7b8a5a92 (patch) | |
| tree | 3ec11fad35a693e5c9f8045bea611744abf8587b /lib/libc/gen | |
| parent | 28929e2bc32d9f08d92d2010c3f18032f41caae6 (diff) | |
iCoverity CID 706: Remove dead code.
Diffstat (limited to 'lib/libc/gen')
| -rw-r--r-- | lib/libc/gen/getgrent.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 05d91ac6d0d..3b9709cab0d 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -1,4 +1,4 @@ -/* $NetBSD: getgrent.c,v 1.58 2005/04/19 05:27:58 lukem Exp $ */ +/* $NetBSD: getgrent.c,v 1.59 2006/03/19 03:08:11 christos Exp $ */ /*- * Copyright (c) 1999-2000, 2004-2005 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ #if 0 static char sccsid[] = "@(#)getgrent.c 8.2 (Berkeley) 3/21/94"; #else -__RCSID("$NetBSD: getgrent.c,v 1.58 2005/04/19 05:27:58 lukem Exp $"); +__RCSID("$NetBSD: getgrent.c,v 1.59 2006/03/19 03:08:11 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -1054,8 +1054,6 @@ __grscan_nis(int *retval, struct group *grp, char *buffer, size_t buflen, } } else { /* dodgy entry */ if (!search) { /* try again if ! searching */ - if (key) - free(key); free(data); goto next_nis_entry; } |
