summaryrefslogtreecommitdiff
path: root/ArmPkg/Application
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:18:35 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-27 10:18:35 +0000
commitac7362c98509cde54bb67d792b35438ec4735973 (patch)
tree521088d27f56aa6b308305d2c5fb241c69499196 /ArmPkg/Application
parent1445300f51db390f1e19dddbd8ab3768ff1b699e (diff)
downloadedk2-ac7362c98509cde54bb67d792b35438ec4735973.zip
edk2-ac7362c98509cde54bb67d792b35438ec4735973.tar.gz
edk2-ac7362c98509cde54bb67d792b35438ec4735973.tar.bz2
ArmPkg/LinuxLoader: Fixed memory leak
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13039 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Application')
-rw-r--r--ArmPkg/Application/LinuxLoader/LinuxConfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ArmPkg/Application/LinuxLoader/LinuxConfig.c b/ArmPkg/Application/LinuxLoader/LinuxConfig.c
index 88b8500..68f7b32 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) {