From 2a5eee9de5a1fab21bfead53d5ea8e1992545ba2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 28 Apr 2007 12:50:35 +0000 Subject: r22553: Fix the build (This used to be commit 561f3c67f40ed6a983ebf170e4014b256ca71219) --- source3/nsswitch/idmap_ad.c | 2 +- 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; } -- cgit