diff options
Diffstat (limited to 'MdeModulePkg/Library/GenericBdsLib/DevicePath.c')
-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);
|