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
/
passdb
/
pdb_ldap.c
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index aef1d31eb6bf3474a44bf09e3d9c95c26b284555..c21b54f74de1944a34c6f5f202cd7641d8a8e9e7 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-1532,7
+1532,7
@@
static void append_attr(TALLOC_CTX *mem_ctx, const char ***attr_list,
;
}
- (*attr_list) =
TALLOC_REALLOC_ARRAY
(mem_ctx, (*attr_list),
+ (*attr_list) =
talloc_realloc
(mem_ctx, (*attr_list),
const char *, i+2);
SMB_ASSERT((*attr_list) != NULL);
(*attr_list)[i] = talloc_strdup((*attr_list), new_attr);