git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a415b7
)
r2799: removed one last occurance of torture_ldb_alloc()
author
Andrew Tridgell
<tridge@samba.org>
Sun, 3 Oct 2004 07:35:29 +0000
(07:35 +0000)
committer
Gerald (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
patch
|
blob
|
history
diff --git
a/source4/torture/local/talloc.c
b/source4/torture/local/talloc.c
index c9f9c60ea42418425df6897d6e1c91458ae20c9d..eca7e554834bbe6ff7c23f08663de5576a9c0fb1 100644
(file)
--- 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);