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