1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r22553: Fix the build

(This used to be commit 561f3c67f40ed6a983ebf170e4014b256ca71219)
This commit is contained in:
Volker Lendecke 2007-04-28 12:50:35 +00:00 committed by Gerald (Jerry) Carter
parent 0fbbf8440a
commit 2a5eee9de5
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}