summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index 71b4536b3..6936c7b56 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -82,7 +82,7 @@ static errno_t sdap_add_incomplete_groups(struct sysdb_ctx *sysdb,
/* All groups are cached, nothing to do */
if (mi == 0) {
- talloc_zfree(tmp_ctx);
+ ret = EOK;
goto done;
}