diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c index 4b141629c9..f0adb0ea93 100644 --- a/OvmfPkg/PlatformDxe/Platform.c +++ b/OvmfPkg/PlatformDxe/Platform.c @@ -3,7 +3,7 @@ them via HII. Copyright (C) 2014, Red Hat, Inc. - Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this @@ -263,6 +263,8 @@ PopulateForm ( EFI_IFR_GUID_LABEL *Anchor; VOID *OpCodeBuffer2; + OpCodeBuffer2 = NULL; + // // 1. Allocate an empty opcode buffer. //