X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FLibrary%2FNvVarsFileLib%2FFsAccess.c;h=66b5566c7518f5b09b6d464d6bfec403253e2845;hp=937e4abe196ddc9ccecd20628bd398c8c1e82b01;hb=ea5396f31a8db7344177b4dd5335ebd617861d58;hpb=c687b1464bb42a3c2d3eb2935ddd09752c6d2f2a;ds=sidebyside diff --git a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c index 937e4abe19..66b5566c75 100644 --- a/OvmfPkg/Library/NvVarsFileLib/FsAccess.c +++ b/OvmfPkg/Library/NvVarsFileLib/FsAccess.c @@ -1,7 +1,7 @@ /** @file File System Access for NvVarsFileLib - Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.
+ Copyright (c) 2004 - 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 distribution. The full text of the license may be found at @@ -432,6 +432,8 @@ SaveNvVarsToFs ( VOID *VariableData; EFI_HANDLE SerializedVariables; + SerializedVariables = NULL; + Status = SerializeVariablesNewInstance (&SerializedVariables); if (EFI_ERROR (Status)) { return Status;