diff options
Diffstat (limited to 'EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c')
-rw-r--r-- | EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c b/EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c index 5a80471927..e893046c4e 100644 --- a/EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c +++ b/EdkNt32Pkg/Library/EdkGenericBdsLib/DevicePath.c @@ -71,7 +71,7 @@ Returns: CopyMem (NewPool, OldPool, OldSize < NewSize ? OldSize : NewSize);
}
- gBS->FreePool (OldPool);
+ FreePool (OldPool);
}
return NewPool;
@@ -137,7 +137,7 @@ Returns: Str->len = strsize - sizeof (UINT16);
}
- gBS->FreePool (AppendStr);
+ FreePool (AppendStr);
return Str->str;
}
@@ -1059,7 +1059,7 @@ DevicePathToStr ( //
// Shrink pool used for string allocation
//
- gBS->FreePool (DevPath);
+ FreePool (DevPath);
Done:
NewSize = (Str.len + 1) * sizeof (CHAR16);
|