1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()

Using the standard macro makes it easier to move code into common, as
TALLOC_REALLOC_ARRAY isn't standard talloc.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2011-06-07 11:10:15 +10:00
parent 8459391e31
commit 73b377432c
51 changed files with 108 additions and 109 deletions

View File

@ -998,7 +998,7 @@ static bool parse_streams_blob(TALLOC_CTX *mem_ctx, const uint8_t *rdata,
struct stream_struct *tmp;
uint8_t *tmp_buf;
tmp = TALLOC_REALLOC_ARRAY(mem_ctx, streams,
tmp = talloc_realloc(mem_ctx, streams,
struct stream_struct,
num_streams+1);