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:
parent
0fbbf8440a
commit
2a5eee9de5
@ -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