1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r22553: Fix the build

This commit is contained in:
Volker Lendecke 2007-04-28 12:50:35 +00:00 committed by Gerald (Jerry) Carter
parent efb43432b0
commit 561f3c67f4
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;
}