diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-07-10 02:16:00 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-07-10 02:16:00 +0000 |
commit | d7fc5cfd68bdf7d0b3d94fe08a523130c961d296 (patch) | |
tree | 7d6e27cda1516ae2891462039baaa3ffcffa679e | |
parent | 4129b837ae45db17c14b94f3a016915901443b93 (diff) | |
download | edk2-platforms-d7fc5cfd68bdf7d0b3d94fe08a523130c961d296.tar.xz |
IntelFrameworkModulePkg: Fix a memory leak bug in BdsDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17907 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c index adf84f42f7..6a0b525f15 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c @@ -3,7 +3,7 @@ and manage the legacy boot option, all legacy boot option is getting from
the legacy BBS table.
-Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
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
@@ -151,6 +151,7 @@ OrderLegacyBootOption4SameType ( FreePool (NewBootOption);
FreePool (DeviceTypeArray);
FreePool (BbsIndexArray);
+ FreePool (BootOrder);
}
/**
|