From 1e520c57a1d92db9bbe9ca1c7cc8fb919db6356f Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 18 Sep 1996 02:16:27 +0000 Subject: [PATCH] send_ether no free; sent fix to darren --- usr.sbin/ipsend/common/ip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/ipsend/common/ip.c b/usr.sbin/ipsend/common/ip.c index 364f01c4376..e05b4b9a373 100644 --- a/usr.sbin/ipsend/common/ip.c +++ b/usr.sbin/ipsend/common/ip.c @@ -72,13 +72,11 @@ struct in_addr gwip; else if (arp((char *)&gwip, &eh->ether_dhost) == -1) { perror("arp"); - free(buf); return -2; } eh->ether_type = ETHERTYPE_IP; last_gw.s_addr = gwip.s_addr; err = sendip(nfd, s, sizeof(*eh) + len); - free(buf); return err; } -- 2.20.1