summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/local/talloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/local/talloc.c b/source4/torture/local/talloc.c
index c9f9c60ea4..eca7e55483 100644
--- a/source4/torture/local/talloc.c
+++ b/source4/torture/local/talloc.c
@@ -619,13 +619,13 @@ static BOOL test_ldb(void)
root = talloc(NULL, 0);
- p1 = talloc_ldb_alloc(root, NULL, 10);
+ p1 = talloc_realloc_fn(root, NULL, 10);
CHECK_BLOCKS(root, 2);
CHECK_SIZE(root, 10);
- p1 = talloc_ldb_alloc(root, p1, 20);
+ p1 = talloc_realloc_fn(root, p1, 20);
CHECK_BLOCKS(root, 2);
CHECK_SIZE(root, 20);
- p1 = talloc_ldb_alloc(root, p1, 0);
+ p1 = talloc_realloc_fn(root, p1, 0);
CHECK_BLOCKS(root, 1);
CHECK_SIZE(root, 0);