summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mcd-account-manager-sso.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mcd-account-manager-sso.c b/src/mcd-account-manager-sso.c
index 7f57b72c..0cf4e41e 100644
--- a/src/mcd-account-manager-sso.c
+++ b/src/mcd-account-manager-sso.c
@@ -980,6 +980,10 @@ _ag_accountid_to_mc_key (McdAccountManagerSso *sso,
DEBUG (MC_IDENTITY_KEY " value %p:%s synthesised", name, name);
return name;
}
+ else
+ {
+ g_value_unset (&value);
+ }
DEBUG (MC_IDENTITY_KEY " not synthesised, returning NULL");
return NULL;