contiki-os/contiki — pull request #857 by simonduq (2014-11-10 11:04:19+00:00)
Title: Added missing memb_free in queuebuf.c

This PR fixes a memory leak in the queuebuf module.
In `queuebuf_new_from_packetbuf`, with `WITH_SWAP` unset: `buf` was not freed before returning in case the allocation of `buf->ram_ptr` fails.