diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-10-24 10:13:02 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-25 14:23:14 -0400 |
commit | 536f81b121b8384ecde49813b49f529bf7219c85 (patch) | |
tree | 151be7612dfe46ea9f7417ba1f68c72dcb1acdda | |
parent | f5d6cc30152a64efa70a7e518152c8a0d96ac79d (diff) | |
download | sssd_unused-536f81b121b8384ecde49813b49f529bf7219c85.tar.gz sssd_unused-536f81b121b8384ecde49813b49f529bf7219c85.tar.xz sssd_unused-536f81b121b8384ecde49813b49f529bf7219c85.zip |
Plug memory leaks in LDAP providersssd-1.5.1-61.el6
-rw-r--r-- | src/providers/ldap/sdap_async_accounts.c | 3 |
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 d05bab1e..edd4f68c 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: |