1
0
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:
Andrew Bartlett
2011-06-07 11:30:12 +10:00
parent 73b377432c
commit 3d15137653
84 changed files with 182 additions and 183 deletions

View File

@ -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;
}