summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-10-24 10:13:02 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-10-25 14:23:14 -0400
commit536f81b121b8384ecde49813b49f529bf7219c85 (patch)
tree151be7612dfe46ea9f7417ba1f68c72dcb1acdda
parentf5d6cc30152a64efa70a7e518152c8a0d96ac79d (diff)
downloadsssd-1.5.1-61.el6.tar.gz
sssd-1.5.1-61.el6.tar.xz
sssd-1.5.1-61.el6.zip
Plug memory leaks in LDAP providersssd-1.5.1-61.el6
-rw-r--r--src/providers/ldap/sdap_async_accounts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index d05bab1e4..edd4f68c5 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -2161,6 +2161,7 @@ fail:
if (in_transaction) {
sysdb_transaction_cancel(sysdb);
}
+ talloc_free(tmp_ctx);
return ret;
}
@@ -4640,6 +4641,7 @@ errno_t save_rfc2307bis_user_memberships(
}
in_transaction = false;
+ talloc_free(tmp_ctx);
return EOK;
error:
@@ -4816,6 +4818,7 @@ static errno_t rfc2307bis_nested_groups_step(struct tevent_req *req)
rfc2307bis_nested_groups_process,
req);
+ talloc_free(tmp_ctx);
return EAGAIN;
error: