git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()
[ira/wip.git]
/
source3
/
lib
/
util_tdb.c
diff --git
a/source3/lib/util_tdb.c
b/source3/lib/util_tdb.c
index 654a538a884140804fc5980d0c62e974336b5cd9..5c3dc3a07dc3aad87e494242028e03e04eec4de4 100644
(file)
--- a/
source3/lib/util_tdb.c
+++ b/
source3/lib/util_tdb.c
@@
-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);