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
/
libgpo
/
gpo_reg.c
diff --git
a/source3/libgpo/gpo_reg.c
b/source3/libgpo/gpo_reg.c
index d9fcd43cafc059cb951f6a7c80e425b2c268daf7..29b31aec8edec2422755d5cfc26c46aaf297ef55 100644
(file)
--- a/
source3/libgpo/gpo_reg.c
+++ b/
source3/libgpo/gpo_reg.c
@@
-901,7
+901,7
@@
bool add_gp_registry_entry_to_array(TALLOC_CTX *mem_ctx,
struct gp_registry_entry **entries,
size_t *num)
{
- *entries =
TALLOC_REALLOC_ARRAY
(mem_ctx, *entries,
+ *entries =
talloc_realloc
(mem_ctx, *entries,
struct gp_registry_entry,
(*num)+1);