mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #20976 from benpicco/gnrc_netif-double-free
gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq
This commit is contained in:
commit
0d4256fb06
@ -1813,6 +1813,7 @@ static void _tx_done(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt,
|
||||
else {
|
||||
/* remove previously held packet */
|
||||
gnrc_pktbuf_release(pkt);
|
||||
return;
|
||||
}
|
||||
#endif /* IS_USED(MODULE_GNRC_NETIF_PKTQ) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user