s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[samba.git] / source3 / modules / vfs_xattr_tdb.c
index 23bb35041ee3ef23e2dd8a32c2cce9072ab99780..200450b1310597f8ccfa44997359da497aef78e7 100644 (file)
@@ -41,7 +41,7 @@ static NTSTATUS xattr_tdb_pull_attrs(TALLOC_CTX *mem_ctx,
        enum ndr_err_code ndr_err;
        struct tdb_xattrs *result;
 
-       if (!(result = TALLOC_ZERO_P(mem_ctx, struct tdb_xattrs))) {
+       if (!(result = talloc_zero(mem_ctx, struct tdb_xattrs))) {
                return NT_STATUS_NO_MEMORY;
        }