]> git.proxmox.com Git - mirror_edk2.git/commitdiff
update allocation to use Zero pool library function.
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Mar 2011 20:45:41 +0000 (20:45 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 25 Mar 2011 20:45:41 +0000 (20:45 +0000)
correct copyright date.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11422 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiSortLib/UefiSortLib.c
ShellPkg/Library/UefiSortLib/UefiSortLib.inf

index e1522442afbd7b73d18113463b2a86598af74c00..4b89358f1a59946eb705c6eaae90aa2a5f04b84c 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Library used for sorting routines.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -170,7 +170,7 @@ PerformQuickSort (
   ASSERT(BufferToSort     != NULL);\r
   ASSERT(CompareFunction  != NULL);\r
 \r
-  Buffer = AllocatePool(ElementSize);\r
+  Buffer = AllocateZeroPool(ElementSize);\r
   ASSERT(Buffer != NULL);\r
 \r
   QuickSortWorker(\r
index a6dcb275169a0ce4b27636fc050a868eb3e468ee..6781f37945148c63dfa80b732da3c0487675650c 100644 (file)
@@ -1,7 +1,7 @@
 ##  @file\r
 #   Library used for sorting routines.\r
 #\r
-#  Copyright (c) 2009, Intel Corporation. All rights reserved. <BR>\r
+#  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved. <BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r