summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/account/LMI_IdentityProvider.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/account/LMI_IdentityProvider.c b/src/account/LMI_IdentityProvider.c
index 11e3de5..fe6ebb2 100644
--- a/src/account/LMI_IdentityProvider.c
+++ b/src/account/LMI_IdentityProvider.c
@@ -90,6 +90,12 @@ static CMPIStatus LMI_IdentityEnumInstances(
free(instanceid);
LMI_Identity_Set_ElementName(&li, aux_lu_get_str(lue, LU_GECOS));
KReturnInstance(cr, li);
+ lu_ent_free(lue);
+ }
+
+ if (accounts)
+ {
+ g_ptr_array_free(accounts, TRUE);
}
/* GOUPRS */