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
/
libsmb
/
namequery.c
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index 2ad10710a9d22179b329f7f90b6345d861851766..eec42ff6226b967603b52247fa5df35098d75de5 100644
(file)
--- a/
source3/libsmb/namequery.c
+++ b/
source3/libsmb/namequery.c
@@
-1317,7
+1317,7
@@
static bool name_query_validator(struct packet_struct *p, void *private_data)
return false;
}
- tmp_addrs =
TALLOC_REALLOC_ARRAY
(
+ tmp_addrs =
talloc_realloc
(
state, state->addrs, struct sockaddr_storage,
state->num_addrs + nmb->answers->rdlength/6);
if (tmp_addrs == NULL) {