Andrew Talbot : rsaenh: Replace malloc/realloc with HeapAlloc/HeapReAlloc.