diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-11 15:59:27 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-11 15:59:27 +0000 |
commit | 4eac2175c6c4abbfc58b72ecc685fdd18d9c9840 (patch) | |
tree | 54dd0838812bce012d724c8fe1e5f23998b31cae /MdeModulePkg | |
parent | 5384e3d45b900b93be9eb9d5788c235c77a4efe9 (diff) | |
download | edk2-platforms-4eac2175c6c4abbfc58b72ecc685fdd18d9c9840.tar.xz |
Fix the issue that memory for device path is incorrectly freed, which leads to the bug that Richford recovery fails.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7001 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/DevicePath.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c index 1941372628..135fa63d1a 100644 --- a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c +++ b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c @@ -1475,10 +1475,6 @@ DevicePathToStr ( //
DevPathNode = NextDevicePathNode (DevPathNode);
}
- //
- // Shrink pool used for string allocation
- //
- FreePool (DevPath);
Done:
NewSize = (Str.len + 1) * sizeof (CHAR16);
|