summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/idmap_ldap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-27 23:18:41 +0000
committerJeremy Allison <jra@samba.org>2007-04-27 23:18:41 +0000
commit04fd9ba97be2034004c20eab00c89099e6883bea (patch)
treed72ebd488852f73cd035da10e2215d243d0fb354 /source/nsswitch/idmap_ldap.c
parent3d32042d58bdb4b9f4e6564ced87efc88478681b (diff)
downloadsamba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.gz
samba-04fd9ba97be2034004c20eab00c89099e6883bea.tar.xz
samba-04fd9ba97be2034004c20eab00c89099e6883bea.zip
r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-). Jeremy.
Diffstat (limited to 'source/nsswitch/idmap_ldap.c')
-rw-r--r--source/nsswitch/idmap_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/idmap_ldap.c b/source/nsswitch/idmap_ldap.c
index e6cd5c7f231..f3cf3278d4b 100644
--- a/source/nsswitch/idmap_ldap.c
+++ b/source/nsswitch/idmap_ldap.c
@@ -215,7 +215,7 @@ static NTSTATUS idmap_ldap_alloc_init(const char *params)
return NT_STATUS_FILE_IS_OFFLINE;
}
- idmap_alloc_ldap = talloc_zero(NULL, struct idmap_ldap_alloc_context);
+ idmap_alloc_ldap = TALLOC_ZERO_P(NULL, struct idmap_ldap_alloc_context);
CHECK_ALLOC_DONE( idmap_alloc_ldap );
/* load ranges */
@@ -734,7 +734,7 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom)
return NT_STATUS_FILE_IS_OFFLINE;
}
- ctx = talloc_zero(dom, struct idmap_ldap_context);
+ ctx = TALLOC_ZERO_P(dom, struct idmap_ldap_context);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;