mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
net/ng_sixlowpan_frag: added missing return
This commit is contained in:
parent
66b23c149d
commit
6a44f56939
@ -205,6 +205,8 @@ void ng_sixlowpan_frag_send(kernel_pid_t pid, ng_pktsnip_t *pkt,
|
||||
#if defined(DEVELHELP) && defined(ENABLE_DEBUG)
|
||||
if (iface == NULL) {
|
||||
DEBUG("6lo frag: iface == NULL, expect segmentation fault.\n");
|
||||
ng_pktbuf_release(pkt);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user