aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net/ether_addr.c
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1996-03-16 21:25:59 +0000
committerBill Paul <wpaul@FreeBSD.org>1996-03-16 21:25:59 +0000
commit6daf17201be2ab73b696b6c3e98398c418517d5f (patch)
treeead06bf99b092dc1b18f2a136c2e3b468c20cbda /lib/libc/net/ether_addr.c
parent8f2ec877b86a36587e164f4b8b55c90d4e4754d1 (diff)
Notes
Diffstat (limited to 'lib/libc/net/ether_addr.c')
-rw-r--r--lib/libc/net/ether_addr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c
index 711bb7d93a05..934a76bcbc34 100644
--- a/lib/libc/net/ether_addr.c
+++ b/lib/libc/net/ether_addr.c
@@ -35,7 +35,7 @@
* Center for Telecommunications Research
* Columbia University, New York City
*
- * $Id: ether_addr.c,v 1.1 1995/04/02 01:31:17 wpaul Exp $
+ * $Id: ether_addr.c,v 1.2 1995/08/07 03:42:14 wpaul Exp $
*/
@@ -147,7 +147,6 @@ int ether_ntohost(hostname, e)
ether_a = ether_ntoa(e);
if (yp_match(yp_domain, "ethers.byaddr", ether_a,
strlen(ether_a), &result, &resultlen)) {
- free(result);
continue;
}
strncpy((char *)&buf, result, resultlen);
@@ -197,7 +196,6 @@ int ether_hostton(hostname, e)
continue;
if (yp_match(yp_domain, "ethers.byname", hostname,
strlen(hostname), &result, &resultlen)) {
- free(result);
continue;
}
strncpy((char *)&buf, result, resultlen);