mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s3-talloc Change TALLOC_ARRAY() to talloc_array()
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
This commit is contained in:
@ -88,7 +88,7 @@ urldecode_talloc(TALLOC_CTX *ctx, char **pp_dest, const char *src)
|
||||
newlen++;
|
||||
}
|
||||
|
||||
dest = TALLOC_ARRAY(ctx, char, newlen);
|
||||
dest = talloc_array(ctx, char, newlen);
|
||||
if (!dest) {
|
||||
return err_count;
|
||||
}
|
||||
|
Reference in New Issue
Block a user