mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Added missing memb_free in queuebuf.c
This commit is contained in:
parent
6ca95ebc0c
commit
928bb49855
@ -366,6 +366,7 @@ queuebuf_new_from_packetbuf(void)
|
||||
#else
|
||||
if(buf->ram_ptr == NULL) {
|
||||
PRINTF("queuebuf_new_from_packetbuf: could not queuebuf data\n");
|
||||
memb_free(&bufmem, buf);
|
||||
return NULL;
|
||||
}
|
||||
buframptr = buf->ram_ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user