mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-11 08:54:38 +08: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…
x
Reference in New Issue
Block a user