summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-04-13 03:06:55 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-16 08:05:33 -0400
commitc1f30d284471dbdc00de3a4388489bae3f5a17f0 (patch)
tree1a89c8175a2f9f72bf837129a0e160c415a568b3 /src
parent336e324fc1a5d57ac404cf1055191f72e663bd89 (diff)
downloadsssd_unused-c1f30d284471dbdc00de3a4388489bae3f5a17f0.tar.gz
sssd_unused-c1f30d284471dbdc00de3a4388489bae3f5a17f0.tar.xz
sssd_unused-c1f30d284471dbdc00de3a4388489bae3f5a17f0.zip
Possible memory leak fixed
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 1ece3d80..b179c5ff 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -3350,11 +3350,11 @@ static errno_t sdap_nested_group_process_step(struct tevent_req *req)
filter = talloc_asprintf(NULL, "(%s=%s)",
SYSDB_ORIG_DN,
member_dn);
+ talloc_zfree(member_dn);
if (!filter) {
ret = ENOMEM;
goto error;
}
- talloc_zfree(member_dn);
ret = sysdb_search_groups(state, state->sysdb, state->domain,
filter, attrs, &count, &msgs);