diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-05-07 20:51:52 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-05-07 20:51:52 +0000 |
commit | c7584211d56c8f6c099ee4b612754113d399cffa (patch) | |
tree | afa4fcb74c8b7a420e6113c72c6c2b26348e4cb5 /lib | |
parent | aafe5f318cfc27e49093eb1f3cbe0dad0a599f7a (diff) | |
download | FreeBSD-src-c7584211d56c8f6c099ee4b612754113d399cffa.zip FreeBSD-src-c7584211d56c8f6c099ee4b612754113d399cffa.tar.gz |
Grrrr... yet another variation on Murphy's Law: the best way to find
bugs in your code is to put it in the -stable branch. (Corollary: the
day you discover the bug is the day the Internet decides to route your
telnet session to the repository box via Zimbabwe.)
Remove one bogus free(result) (from _havemaster()) that slipped by me.
Flagged by: phkmalloc
Pointed out to me by: Stefan Esser
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/getpwent.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 052d150..3dd7afb 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -653,7 +653,6 @@ _havemaster(char *_pw_yp_domain) if (yp_first(_pw_yp_domain, "master.passwd.byname", &key, &keylen, &result, &resultlen)) { - free(result); return 0; } free(result); |