diff --git a/src/common/filesystem/source/resourcefile.cpp b/src/common/filesystem/source/resourcefile.cpp index 2f2ffd414e..2b5fa5d484 100644 --- a/src/common/filesystem/source/resourcefile.cpp +++ b/src/common/filesystem/source/resourcefile.cpp @@ -274,6 +274,7 @@ void FResourceFile::AllocateEntries(int count) { NumLumps = count; Entries = (FResourceEntry*)stringpool->Alloc(count * sizeof(FResourceEntry)); + memset(Entries, 0, count * sizeof(FResourceEntry)); }