Zebediah Figura : qcap: Use malloc() instead of heap_alloc().