mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-idmap-ldap: private_data is a talloc child of dom
This commit is contained in:
parent
9c5802b841
commit
1bf29c7acf
@ -1151,16 +1151,6 @@ done:
|
||||
|
||||
static NTSTATUS idmap_ldap_close(struct idmap_domain *dom)
|
||||
{
|
||||
struct idmap_ldap_context *ctx;
|
||||
|
||||
if (dom->private_data) {
|
||||
ctx = talloc_get_type(dom->private_data,
|
||||
struct idmap_ldap_context);
|
||||
|
||||
talloc_free(ctx);
|
||||
dom->private_data = NULL;
|
||||
}
|
||||
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user