Before I go hassling the USWG, I thought I'd check here in case anyone
knows.
In the Firmware Management Protocol introduced in UEFI 2.3, there's a
EFI_FIRMWARE_IMAGE_DESCRIPTOR structure that has two CHAR16* fields,
'ImageIdName' and 'VersionName'. The UEFI spec doesn't say anything
about memory allocation, but they're strings that at least in our driver
are dynamically allocated.
Since there's no FMP 'cleanup' function, I'm wondering if there was some
sort of mistake specifying those, because I don't see a way to avoid
leaking memory.
--
Bruce Cran
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel