1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn

net/ng_sixlowpan_frag: added missing return
This commit is contained in:
Martine Lenders 2015-06-23 17:58:40 +02:00
commit 6b6c0c3322

View File

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