trivial: Fix a tiny leak when translating the security attr

This commit is contained in:
Richard Hughes 2022-11-19 11:05:18 +00:00
parent 5b44de228e
commit fd7bec2e2f

View File

@ -333,7 +333,7 @@ fu_security_attr_get_title(FwupdSecurityAttr *attr)
if (g_strcmp0(appstream_id, FWUPD_SECURITY_ATTR_ID_MEI_KEY_MANIFEST) == 0) {
/* TRANSLATORS: Title: MEI = Intel Management Engine, and key refers
* to the private/public key used to secure loading of firmware */
return g_strdup(_("MEI Key Manifest"));
return _("MEI Key Manifest");
}
if (g_strcmp0(appstream_id, FWUPD_SECURITY_ATTR_ID_MEI_VERSION) == 0) {
/* TRANSLATORS: Title: MEI = Intel Management Engine */