Skip to content
Snippets Groups Projects
Commit 6295e4a7 authored by Peter Kietzmann's avatar Peter Kietzmann
Browse files

sys/netif: add missig pkt release in gnrc_netif_raw

parent 991a514f
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,8 @@ static int _send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) ...@@ -110,6 +110,8 @@ static int _send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
#endif #endif
res = dev->driver->send(dev, v, n); res = dev->driver->send(dev, v, n);
} }
/* release old data */
gnrc_pktbuf_release(pkt);
return res; return res;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment