From: oliviermartin Date: Mon, 27 Feb 2012 10:18:35 +0000 (+0000) Subject: ArmPkg/LinuxLoader: Fixed memory leak X-Git-Tag: edk2-stable201903~13621 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=ac7362c98509cde54bb67d792b35438ec4735973 ArmPkg/LinuxLoader: Fixed memory leak git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13039 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ArmPkg/Application/LinuxLoader/LinuxConfig.c b/ArmPkg/Application/LinuxLoader/LinuxConfig.c index 88b8500725..68f7b32c0a 100644 --- a/ArmPkg/Application/LinuxLoader/LinuxConfig.c +++ b/ArmPkg/Application/LinuxLoader/LinuxConfig.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011, ARM Limited. All rights reserved. +* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -227,6 +227,7 @@ LinuxLoaderConfig ( } } } + FreePool (BootOrder); } if (Choice == LINUX_LOADER_NEW) {