mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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:
@ -231,7 +231,7 @@ bool tdb_pack_append(TALLOC_CTX *mem_ctx, uint8 **buf, size_t *len,
|
||||
va_end(ap);
|
||||
|
||||
if (mem_ctx != NULL) {
|
||||
*buf = TALLOC_REALLOC_ARRAY(mem_ctx, *buf, uint8,
|
||||
*buf = talloc_realloc(mem_ctx, *buf, uint8,
|
||||
(*len) + len1);
|
||||
} else {
|
||||
*buf = SMB_REALLOC_ARRAY(*buf, uint8, (*len) + len1);
|
||||
|
Reference in New Issue
Block a user