summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/testsuite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/talloc/testsuite.c b/lib/talloc/testsuite.c
index 7860ad2be6..71917038be 100644
--- a/lib/talloc/testsuite.c
+++ b/lib/talloc/testsuite.c
@@ -1315,7 +1315,8 @@ static bool test_rusty(void)
static bool test_free_children(void)
{
void *root;
- const char *p1, *p2, *name, *name2;
+ char *p1, *p2;
+ const char *name, *name2;
talloc_enable_null_tracking();
root = talloc_new(NULL);