diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-04-28 12:50:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:44 -0500 |
commit | 2a5eee9de5a1fab21bfead53d5ea8e1992545ba2 (patch) | |
tree | ec6aa375111b69ea9a14237b7b7403ebc931506d /source3/nsswitch | |
parent | 0fbbf8440aa45a90f5b913815122fa127793a72d (diff) | |
download | samba-2a5eee9de5a1fab21bfead53d5ea8e1992545ba2.tar.gz samba-2a5eee9de5a1fab21bfead53d5ea8e1992545ba2.tar.bz2 samba-2a5eee9de5a1fab21bfead53d5ea8e1992545ba2.zip |
r22553: Fix the build
(This used to be commit 561f3c67f40ed6a983ebf170e4014b256ca71219)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/idmap_ad.c | 2 | ||||
-rw-r--r-- | source3/nsswitch/idmap_rid.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/idmap_ad.c b/source3/nsswitch/idmap_ad.c index d3fd9e1c8a..aadbb2419d 100644 --- a/source3/nsswitch/idmap_ad.c +++ b/source3/nsswitch/idmap_ad.c @@ -167,7 +167,7 @@ static NTSTATUS idmap_ad_initialize(struct idmap_domain *dom) const char *range = NULL; const char *schema_mode = NULL; - if ( (ctx = TALLOC_ZERO(dom, struct idmap_ad_context)) == NULL ) { + if ( (ctx = TALLOC_ZERO_P(dom, struct idmap_ad_context)) == NULL ) { DEBUG(0, ("Out of memory!\n")); return NT_STATUS_NO_MEMORY; } diff --git a/source3/nsswitch/idmap_rid.c b/source3/nsswitch/idmap_rid.c index 1daf511dda..f7503a4dd6 100644 --- a/source3/nsswitch/idmap_rid.c +++ b/source3/nsswitch/idmap_rid.c @@ -44,7 +44,7 @@ static NTSTATUS idmap_rid_initialize(struct idmap_domain *dom) char *config_option = NULL; const char *range; - if ( (ctx = TALLOC_ZERO(dom, struct idmap_rid_context)) == NULL ) { + if ( (ctx = TALLOC_ZERO_P(dom, struct idmap_rid_context)) == NULL ) { DEBUG(0, ("Out of memory!\n")); return NT_STATUS_NO_MEMORY; } |