diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-04-17 08:59:09 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-18 10:23:56 -0400 |
commit | e72c1aaea0a73ed1199554722a26918b57f90d49 (patch) | |
tree | 53a3a3c27841e6776c87934105dac2560ee0f7ed /src/providers | |
parent | 2c9d3ca604743df82f2f3a8a05829c2dee3d97d7 (diff) | |
download | sssd-e72c1aaea0a73ed1199554722a26918b57f90d49.tar.gz sssd-e72c1aaea0a73ed1199554722a26918b57f90d49.tar.bz2 sssd-e72c1aaea0a73ed1199554722a26918b57f90d49.zip |
Fixed memory context in sdap_fill_memberships()
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_groups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c index b19e2b67..fe116b96 100644 --- a/src/providers/ldap/sdap_async_groups.c +++ b/src/providers/ldap/sdap_async_groups.c @@ -108,7 +108,7 @@ static int sdap_fill_memberships(struct sysdb_attrs *group_attrs, } /* Just allocate both big enough to contain all members for now */ - el->values = talloc_realloc(el, el->values, struct ldb_val, + el->values = talloc_realloc(group_attrs, el->values, struct ldb_val, el->num_values + num_values); if (!el->values) { ret = ENOMEM; |