diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-11-01 12:27:59 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-07 10:59:38 +0100 |
commit | 4537e95f6741ae05ec620e5b46ca1d4a3a1ceae5 (patch) | |
tree | 7e38296058817a7306758cbd5017fe021bcf6571 /src/providers/ldap/sdap_async_initgroups_ad.c | |
parent | 5c94d34d890c75ec179a32d2cda4fa060d2b5f0c (diff) | |
download | sssd-4537e95f6741ae05ec620e5b46ca1d4a3a1ceae5.tar.gz sssd-4537e95f6741ae05ec620e5b46ca1d4a3a1ceae5.tar.xz sssd-4537e95f6741ae05ec620e5b46ca1d4a3a1ceae5.zip |
free idmapped SIDs correctly
Resolves:
https://fedorahosted.org/sssd/ticket/2133
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups_ad.c')
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups_ad.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c index a0841a799..aa72c8876 100644 --- a/src/providers/ldap/sdap_async_initgroups_ad.c +++ b/src/providers/ldap/sdap_async_initgroups_ad.c @@ -594,6 +594,8 @@ sdap_get_ad_tokengroups_initgroups_lookup_done(struct tevent_req *subreq) in_transaction = false; done: + sss_idmap_free_sid(state->opts->idmap_ctx->map, sid_str); + if (in_transaction) { sret = sysdb_transaction_cancel(state->sysdb); DEBUG(SSSDBG_FATAL_FAILURE, |