dmi_platform_destroy
Description
The dmi_platform_destroy function destroys a platform along with the
product name and the family code it holds. It does nothing if platform is
nullptr.
The platform of a context, returned by dmi_get_platform, belongs to the
context, and is not destroyed by the caller.