summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-04-17 09:02:55 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-18 10:23:56 -0400
commit3074b0ba08df922c5a266ed2962d07e1db7261bd (patch)
treea130c9e31f71f8465badff7811553f75397d8349 /src/providers/ldap
parente72c1aaea0a73ed1199554722a26918b57f90d49 (diff)
downloadsssd-3074b0ba08df922c5a266ed2962d07e1db7261bd.tar.gz
sssd-3074b0ba08df922c5a266ed2962d07e1db7261bd.tar.bz2
sssd-3074b0ba08df922c5a266ed2962d07e1db7261bd.zip
Fixed minor memory leak in ldap provider
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_groups.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index fe116b96..c7e4ac27 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -970,6 +970,7 @@ sdap_process_group_members_2307(struct sdap_process_group_state *state,
}
ret = EOK;
+ talloc_free(memberel->values);
memberel->values = talloc_steal(state->group, state->sysdb_dns->values);
memberel->num_values = state->sysdb_dns->num_values;