mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #8256 from PeterKietzmann/pr_netif_raw_pkt_release
sys/netif: add missig pkt release in gnrc_netif_raw
This commit is contained in:
commit
dbc577466e
@ -110,6 +110,8 @@ static int _send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
|
||||
#endif
|
||||
res = dev->driver->send(dev, v, n);
|
||||
}
|
||||
/* release old data */
|
||||
gnrc_pktbuf_release(pkt);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user