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 a new issue