s3-talloc Change TALLOC_ARRAY() to talloc_array()
[samba.git] / source3 / web / swat.c
index 392b7131d821d1b89c9763e36fd89a4a3e13dbc2..277b25c4268acfb66446a42e9bd5f6f81083e368 100644 (file)
@@ -101,7 +101,7 @@ static const char *fix_quotes(TALLOC_CTX *ctx, char *str)
                }
                ++p;
        }
-       newstring = TALLOC_ARRAY(ctx, char, newstring_len);
+       newstring = talloc_array(ctx, char, newstring_len);
        if (!newstring) {
                return "";
        }