Call HeapAlloc() on entries before HeapReAlloc() to avoid crash on