summaryrefslogtreecommitdiff
path: root/source4/lib/util_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util_str.c')
-rw-r--r--source4/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_str.c b/source4/lib/util_str.c
index b3ec27de74..d9c4e30d6a 100644
--- a/source4/lib/util_str.c
+++ b/source4/lib/util_str.c
@@ -1057,7 +1057,7 @@ BOOL add_string_to_array(TALLOC_CTX *mem_ctx,
{
char *dup_str = talloc_strdup(mem_ctx, str);
- *strings = talloc_realloc_p(mem_ctx,
+ *strings = talloc_realloc(mem_ctx,
*strings,
const char *, ((*num)+1));