s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / smbd / posix_acls.c
index aebe64e2d81c3a5fe885309908137d894b6cf464..c536306e2241803aea682d3271124dbd3ea1fa1e 100644 (file)
@@ -4744,7 +4744,7 @@ struct security_descriptor *get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fna
        struct fd_handle fh;
        NTSTATUS status;
 
-       conn = TALLOC_ZERO_P(ctx, connection_struct);
+       conn = talloc_zero(ctx, connection_struct);
        if (conn == NULL) {
                DEBUG(0, ("talloc failed\n"));
                return NULL;