diff options
author | Eric Dong <eric.dong@intel.com> | 2014-07-24 01:06:14 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-24 01:06:14 +0000 |
commit | 673c893016484fe8265e90d39719a0306be9bab2 (patch) | |
tree | 492ef6d2324d20928f73fb6a5a79a1861a1c9ef5 | |
parent | 0fb4402246ffeaee2481a1dcf11df41c758ca2d5 (diff) | |
download | edk2-platforms-673c893016484fe8265e90d39719a0306be9bab2.tar.xz |
Fix one memory leak.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15674 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index c58c6fd87f..8451d3434a 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -1642,6 +1642,8 @@ BdsRefreshBbsTableForBoot ( }
}
+ FreePool (DeviceType);
+
if (BootOrder != NULL) {
FreePool (BootOrder);
}
|