[PATCH v2 7/7] qcap: Use malloc() instead of HeapAlloc() or CoTaskMemAlloc().