zero the Entries array on allocation
This commit is contained in:
parent
0be8fed6fc
commit
e1cf8af9d3
1 changed files with 1 additions and 0 deletions
|
|
@ -274,6 +274,7 @@ void FResourceFile::AllocateEntries(int count)
|
|||
{
|
||||
NumLumps = count;
|
||||
Entries = (FResourceEntry*)stringpool->Alloc(count * sizeof(FResourceEntry));
|
||||
memset(Entries, 0, count * sizeof(FResourceEntry));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue