]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Application/LinuxLoader/LinuxConfig.c
ArmPkg/LinuxLoader: Fixed memory leak
[mirror_edk2.git] / ArmPkg / Application / LinuxLoader / LinuxConfig.c
index 88b850072503e1f08b56d7e25b61d21ce9adc3a5..68f7b32c0a278e780674ec7184d9053036306649 100644 (file)
@@ -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) {