summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index 3c99367e76..834d2ff7c6 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -4103,6 +4103,7 @@ VariableCommonInitialize (
//
// Init non-volatile variable store.
//
+ NvFvHeader = NULL;
Status = InitNonVolatileVariableStore (&NvFvHeader);
if (EFI_ERROR (Status)) {
FreePool (mVariableModuleGlobal);