make it call etharp_output_sent() in tapif_output.This is to prevent the recently

discovered memory leak.
This commit is contained in:
jani 2002-11-15 15:08:21 +00:00
parent 428293a69b
commit 6ef24c4e48

View File

@ -262,6 +262,8 @@ tapif_output(struct netif *netif, struct pbuf *p,
p = etharp_output(netif, ipaddr, p);
if(p != NULL) {
return low_level_output(netif, p);
etharp_output_sent(p);
p = NULL;
}
return ERR_OK;
}