Skip to content
Snippets Groups Projects
Commit 6b6c0c33 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn

net/ng_sixlowpan_frag: added missing return
parents b85f0760 6a44f569
No related branches found
No related tags found
No related merge requests found
...@@ -205,6 +205,8 @@ void ng_sixlowpan_frag_send(kernel_pid_t pid, ng_pktsnip_t *pkt, ...@@ -205,6 +205,8 @@ void ng_sixlowpan_frag_send(kernel_pid_t pid, ng_pktsnip_t *pkt,
#if defined(DEVELHELP) && defined(ENABLE_DEBUG) #if defined(DEVELHELP) && defined(ENABLE_DEBUG)
if (iface == NULL) { if (iface == NULL) {
DEBUG("6lo frag: iface == NULL, expect segmentation fault.\n"); DEBUG("6lo frag: iface == NULL, expect segmentation fault.\n");
ng_pktbuf_release(pkt);
return;
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment