summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-24 02:01:15 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-24 02:01:15 +0000
commit6d15fb6b6cb2c7e6e42bbf9bf1d9b4d9210a6d55 (patch)
treefbecae5c8b70edfbdef5781dd41f5a4d9dc5349f
parentf799b36d2ce86878da352cda810bd695e9f7b39b (diff)
downloadedk2-6d15fb6b6cb2c7e6e42bbf9bf1d9b4d9210a6d55.tar.gz
Sync part of patch r11279 from main trunk.
Set FreeMenu->MenuNumber to 0 when Menus were freed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11695 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
index 72dcb0e15e..79e2079c17 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootOption.c
@@ -5,7 +5,7 @@
Boot option manipulation
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>
+Copyright (c) 2004 - 2011, Intel Corporation. <BR>
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
@@ -529,6 +529,7 @@ BOpt_FreeMenu (
RemoveEntryList (&MenuEntry->Link);
BOpt_DestroyMenuEntry (MenuEntry);
}
+ FreeMenu->MenuNumber = 0;
}
/**