Skip to content

Commit

Permalink
gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Nov 11, 2024
1 parent e419c14 commit 0bed0c6
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 0bed0c6

Please sign in to comment.