mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq
This commit is contained in:
parent
e419c144fa
commit
0bed0c6bfe
@ -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