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:
parent
efb43432b0
commit
561f3c67f4
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user