From: Ruiyu Ni Date: Fri, 10 Jul 2015 02:16:00 +0000 (+0000) Subject: IntelFrameworkModulePkg: Fix a memory leak bug in BdsDxe driver. X-Git-Tag: edk2-stable201903~9370 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d7fc5cfd68bdf7d0b3d94fe08a523130c961d296;hp=4129b837ae45db17c14b94f3a016915901443b93 IntelFrameworkModulePkg: Fix a memory leak bug in BdsDxe driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17907 6f19259b-4bc3-4df7-8a09-765794883524 --- 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.
+Copyright (c) 2004 - 2015, 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 @@ -151,6 +151,7 @@ OrderLegacyBootOption4SameType ( FreePool (NewBootOption); FreePool (DeviceTypeArray); FreePool (BbsIndexArray); + FreePool (BootOrder); } /**