s3-talloc Change TALLOC_P() to talloc()
[ira/wip.git] / source3 / passdb / pdb_ldap.c
index 8167e3799eefee1a0cfc83d33c11f36f8a56f0ac..2d33d2d954435bc4c0798111041cb3f364c07f6c 100644 (file)
@@ -6368,7 +6368,7 @@ static NTSTATUS ldapsam_enum_trusteddoms(struct pdb_methods *methods,
                char *dom_name, *dom_sid_str;
                struct trustdom_info *dom_info;
 
-               dom_info = TALLOC_P(*domains, struct trustdom_info);
+               dom_info = talloc(*domains, struct trustdom_info);
                if (dom_info == NULL) {
                        DEBUG(1, ("talloc failed\n"));
                        return NT_STATUS_NO_MEMORY;