1
0
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:
Günther Deschner 2007-08-14 15:34:34 +00:00 committed by Gerald (Jerry) Carter
parent 42abe8450b
commit e6415c5232

View File

@ -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",