diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_dual.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 92e5782fa3..8009bee9d4 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -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", |