qcap: Use malloc() instead of HeapAlloc() or CoTaskMemAlloc().