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:24 -0400 |
commit | b733f874652ca5a9a90491c95d8b788480385425 (patch) | |
tree | 1c424c117d21840ac4d48cf89748901cb0140dc1 /src/providers/ldap | |
parent | 6aa9f2df63c9f2b66991652e476b94209ea82f24 (diff) | |
download | sssd-b733f874652ca5a9a90491c95d8b788480385425.tar.gz sssd-b733f874652ca5a9a90491c95d8b788480385425.tar.xz sssd-b733f874652ca5a9a90491c95d8b788480385425.zip |
Plug memory leaks in LDAP provider
Diffstat (limited to 'src/providers/ldap')
-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 f0b668eb5..ba4cfe644 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: |