diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-15 13:02:26 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-15 13:02:26 +0000 |
commit | 77aa51cd891f8fd9616aaeab3fe7e2331e5ea3ec (patch) | |
tree | a70a356ded049ca9bcc854d0ed724f3b17247266 /MdeModulePkg/Universal/Variable | |
parent | 130e25699a6d060c966978e345c6c8eeed85d065 (diff) | |
download | edk2-77aa51cd891f8fd9616aaeab3fe7e2331e5ea3ec.zip edk2-77aa51cd891f8fd9616aaeab3fe7e2331e5ea3ec.tar.gz edk2-77aa51cd891f8fd9616aaeab3fe7e2331e5ea3ec.tar.bz2 |
Fix bug that failed to reclaim the variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable')
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c index 9ff4172..2da9edf 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c @@ -637,7 +637,7 @@ Returns: // Copy variable store header
//
CopyMem (CurrPtr, VariableStoreHeader, sizeof (VARIABLE_STORE_HEADER));
- CurrPtr = (UINT8 *) GetStartPointer (VariableStoreHeader);
+ CurrPtr = (UINT8 *) GetStartPointer ((VARIABLE_STORE_HEADER *) CurrPtr);
//
// Start Pointers for the variable.
|