AllocateSize += 0x10;\r
OldIndexArray = IndexArray;\r
IndexArray = AllocatePool (AllocateSize * sizeof (UINTN) * 3);\r
+ ASSERT (IndexArray != NULL);\r
+ \r
CopyMem (IndexArray, OldIndexArray, LineCount * sizeof (UINTN) * 3);\r
FreePool (OldIndexArray);\r
}\r