1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

gnrc IPv6: release correct pktsnip

This commit is contained in:
Oleg Hahm 2015-10-02 12:11:57 +02:00
parent c309e43b73
commit f2e78453af

View File

@ -634,7 +634,7 @@ static void _send(gnrc_pktsnip_t *pkt, bool prep_hdr)
if (gnrc_netapi_receive(gnrc_ipv6_pid, rcv_pkt) < 1) {
DEBUG("ipv6: unable to deliver packet\n");
gnrc_pktbuf_release(pkt);
gnrc_pktbuf_release(rcv_pkt);
}
}
else {