1
0
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:
Benjamin Valentin 2024-11-11 20:30:30 +01:00
parent e419c144fa
commit 0bed0c6bfe

View File

@ -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) */