From 6295e4a7c9bad4b8a1c0c401cd5e033d57a055e3 Mon Sep 17 00:00:00 2001 From: PeterKietzmann Date: Wed, 13 Dec 2017 15:44:39 +0100 Subject: [PATCH] sys/netif: add missig pkt release in gnrc_netif_raw --- sys/net/gnrc/netif/gnrc_netif_raw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/gnrc/netif/gnrc_netif_raw.c b/sys/net/gnrc/netif/gnrc_netif_raw.c index 30d3f4a984..7abb6cba68 100644 --- a/sys/net/gnrc/netif/gnrc_netif_raw.c +++ b/sys/net/gnrc/netif/gnrc_netif_raw.c @@ -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; }