diff options
Diffstat (limited to 'MdeModulePkg/Library/GenericBdsLib/DevicePath.c')
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/DevicePath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c index 793badb313..affb009d4b 100644 --- a/MdeModulePkg/Library/GenericBdsLib/DevicePath.c +++ b/MdeModulePkg/Library/GenericBdsLib/DevicePath.c @@ -45,7 +45,7 @@ ReallocatePool ( CopyMem (NewPool, OldPool, OldSize < NewSize ? OldSize : NewSize);
}
- SafeFreePool (OldPool);
+ FreePool (OldPool);
}
return NewPool;
@@ -108,7 +108,7 @@ CatPrint ( Str->len = StringSize - sizeof (UINT16);
}
- SafeFreePool (AppendStr);
+ FreePool (AppendStr);
return Str->str;
}
@@ -1594,7 +1594,7 @@ DevicePathToStr ( //
// Shrink pool used for string allocation
//
- SafeFreePool (DevPath);
+ FreePool (DevPath);
Done:
NewSize = (Str.len + 1) * sizeof (CHAR16);
|