From ae30c7c5e63c4f86f1874a237f4fdaabcbb7624f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 3 Oct 2004 07:35:29 +0000 Subject: r2799: removed one last occurance of torture_ldb_alloc() (This used to be commit 5045482b14dfcbb535eab3e5fa63ef1c3b46c40f) --- source4/torture/local/talloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture') 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); -- cgit