summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
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;