From: Volker Lendecke Date: Sat, 28 Apr 2007 12:50:35 +0000 (+0000) Subject: r22553: Fix the build X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~595 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=561f3c67f40ed6a983ebf170e4014b256ca71219;p=thirdparty%2Fsamba.git r22553: Fix the build --- diff --git a/source/nsswitch/idmap_ad.c b/source/nsswitch/idmap_ad.c index d3fd9e1c8aa..aadbb2419d8 100644 --- a/source/nsswitch/idmap_ad.c +++ b/source/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/source/nsswitch/idmap_rid.c b/source/nsswitch/idmap_rid.c index 1daf511ddae..f7503a4dd67 100644 --- a/source/nsswitch/idmap_rid.c +++ b/source/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; }