mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-16 17:57:25 +00:00
make it call etharp_output_sent() in tapif_output.This is to prevent the recently
discovered memory leak.
This commit is contained in:
parent
428293a69b
commit
6ef24c4e48
|
@ -262,6 +262,8 @@ tapif_output(struct netif *netif, struct pbuf *p,
|
||||||
p = etharp_output(netif, ipaddr, p);
|
p = etharp_output(netif, ipaddr, p);
|
||||||
if(p != NULL) {
|
if(p != NULL) {
|
||||||
return low_level_output(netif, p);
|
return low_level_output(netif, p);
|
||||||
|
etharp_output_sent(p);
|
||||||
|
p = NULL;
|
||||||
}
|
}
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user