]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r22553: Fix the build
authorVolker Lendecke <vlendec@samba.org>
Sat, 28 Apr 2007 12:50:35 +0000 (12:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:44 +0000 (12:19 -0500)
source/nsswitch/idmap_ad.c
source/nsswitch/idmap_rid.c

index d3fd9e1c8aaf214c7be6eada718bc5f2030b8836..aadbb2419d802c08785e5aa2ce10bcafd19f7999 100644 (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;
        }
index 1daf511ddaea2db71393bb525bb7e9ac9a0e8889..f7503a4dd6794e6d4ae7bb72f426aef5d225aa9a 100644 (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;
        }