1
0
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:
Marian Buschsieweke 2024-11-11 22:43:11 +00:00 committed by GitHub
commit 0d4256fb06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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