Skip to content

Commit

Permalink
Merge pull request #20979 from benpicco/backport/2024.10/gnrc_netif-d…
Browse files Browse the repository at this point in the history
…ouble-free

gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq [backport 2024.10]
  • Loading branch information
maribu authored Nov 13, 2024
2 parents b376bec + 7a7a889 commit 3bfbc55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/net/gnrc/netif/gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */

Expand Down

0 comments on commit 3bfbc55

Please sign in to comment.