r2799: removed one last occurance of torture_ldb_alloc()
authorAndrew Tridgell <tridge@samba.org>
Sun, 3 Oct 2004 07:35:29 +0000 (07:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:35 +0000 (12:59 -0500)
(This used to be commit 5045482b14dfcbb535eab3e5fa63ef1c3b46c40f)

source4/torture/local/talloc.c

index c9f9c60ea42418425df6897d6e1c91458ae20c9d..eca7e554834bbe6ff7c23f08663de5576a9c0fb1 100644 (file)
@@ -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);