summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-14 15:34:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:44 -0500
commit6c3d3bc0faf627410c0c09d8be93b985b4e3774c (patch)
treea6e87be0953cbd2c76466e1ab1eb88a7f2055836 /source3/nsswitch/winbindd_dual.c
parenta573b80df7514821c2ea26144e91ce90ec1a58ed (diff)
downloadsamba-6c3d3bc0faf627410c0c09d8be93b985b4e3774c.tar.gz
samba-6c3d3bc0faf627410c0c09d8be93b985b4e3774c.tar.bz2
samba-6c3d3bc0faf627410c0c09d8be93b985b4e3774c.zip
r24420: Pure pedantism: the talloc_init could have failed...
Guenther (This used to be commit e6415c523234f60da7dcfa4de101e8634dc6927d)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c3
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",