diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1995-04-15 03:11:55 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1995-04-15 03:11:55 +0000 |
| commit | 8efe1172e204f38ba82b4089e84109d4d3d479bd (patch) | |
| tree | 1b0a3dab7d454f3f636aed9729eb1228067b0a07 /lib/libc/gen | |
| parent | 5232af2cf1e4b74b74d12d44e9bfb810ffd17a95 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen')
| -rw-r--r-- | lib/libc/gen/getpwent.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index b8f1b19b0b61..4cfe11ad5c98 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -557,14 +557,11 @@ static char *_pw_yp_domain; static int _havemaster(char *_pw_yp_domain) { - int *order; + int order; if (yp_order(_pw_yp_domain, "master.passwd.byname", (int *)&order)) { - free(order); return 0; } - - free(order); return 1; } |
