1
0
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:
Martine Lenders 2017-12-13 16:27:28 +01:00 committed by GitHub
commit dbc577466e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}