[PATCH] dpnet: Use the global HeapAlloc() wrappers