mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r24420: Pure pedantism: the talloc_init could have failed...
Guenther
(This used to be commit e6415c5232
)
This commit is contained in:
parent
a573b80df7
commit
6c3d3bc0fa
@ -758,8 +758,7 @@ static void account_lockout_policy_handler(struct event_context *ctx,
|
||||
} else {
|
||||
result = methods->lockout_policy(child->domain, mem_ctx, &lockout_policy);
|
||||
}
|
||||
|
||||
talloc_destroy(mem_ctx);
|
||||
TALLOC_FREE(mem_ctx);
|
||||
|
||||
if (!NT_STATUS_IS_OK(result)) {
|
||||
DEBUG(10,("account_lockout_policy_handler: lockout_policy failed error %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user