summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-03 07:35:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:35 -0500
commitae30c7c5e63c4f86f1874a237f4fdaabcbb7624f (patch)
tree09c61d0156b75b347273a03c2fbdddd076abc0d3 /source4/torture
parent9a415b723c0e015d7953f8341dd35f8dd7a6fc9c (diff)
downloadsamba-ae30c7c5e63c4f86f1874a237f4fdaabcbb7624f.tar.gz
samba-ae30c7c5e63c4f86f1874a237f4fdaabcbb7624f.tar.bz2
samba-ae30c7c5e63c4f86f1874a237f4fdaabcbb7624f.zip
r2799: removed one last occurance of torture_ldb_alloc()
(This used to be commit 5045482b14dfcbb535eab3e5fa63ef1c3b46c40f)
Diffstat (limited to 'source4/torture')
-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);