git.samba.org
/
sfrench
/
samba-autobuild
/
.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()
[sfrench/samba-autobuild/.git]
/
lib
/
addns
/
dnsmarshall.c
diff --git
a/lib/addns/dnsmarshall.c
b/lib/addns/dnsmarshall.c
index 5530290c57a5126c06d1ee456d78e846336de217..e5e8cf796217b58483d621e678df6e4ca2e5d5fa 100644
(file)
--- a/
lib/addns/dnsmarshall.c
+++ b/
lib/addns/dnsmarshall.c
@@
-78,7
+78,7
@@
void dns_marshall_buffer(struct dns_buffer *buf, const uint8 *data,
new_size += (64 - (new_size % 64));
- if (!(new_data =
TALLOC_REALLOC_ARRAY
(buf, buf->data, uint8,
+ if (!(new_data =
talloc_realloc
(buf, buf->data, uint8,
new_size))) {
buf->error = ERROR_DNS_NO_MEMORY;
return;