summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c')
-rw-r--r--InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c b/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
index 935cd12201..ba03261433 100644
--- a/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
+++ b/InOsEmuPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystem.c
@@ -718,7 +718,7 @@ EmuSimpleFileSystemDriverBindingStart (
goto Done;
}
- Private = AllocatePool (sizeof (EMU_SIMPLE_FILE_SYSTEM_PRIVATE));
+ Private = AllocateZeroPool (sizeof (EMU_SIMPLE_FILE_SYSTEM_PRIVATE));
if (Private == NULL) {
goto Done;
}