From fd7bec2e2fa440daad1d1c0cb6f10d4b420dcd87 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Sat, 19 Nov 2022 11:05:18 +0000 Subject: [PATCH] trivial: Fix a tiny leak when translating the security attr --- src/fu-security-attr-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-security-attr-common.c b/src/fu-security-attr-common.c index c54c2cae2..0f905b779 100644 --- a/src/fu-security-attr-common.c +++ b/src/fu-security-attr-common.c @@ -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 */