summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb/tools/ldbedit.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-01-12 16:00:01 +0000
committerSimo Sorce <idra@samba.org>2005-01-12 16:00:01 +0000
commit664ad12ab8c24fa368d44f67c59dc3fa885ef7c2 (patch)
tree93788214d27aebead3d4f394f3b110b7d1cbb3e6 /source/lib/ldb/tools/ldbedit.c
parent8bab4a4604495bd28bcd68b4f3f08363eb9f3cdc (diff)
downloadsamba-664ad12ab8c24fa368d44f67c59dc3fa885ef7c2.tar.gz
samba-664ad12ab8c24fa368d44f67c59dc3fa885ef7c2.tar.xz
samba-664ad12ab8c24fa368d44f67c59dc3fa885ef7c2.zip
r4714: move the ldb code to the new talloc interface (eg remove _p suffix)
this helps standalone building of ldb renew the schema module split code into functions to improve readability and code reuse add and modify works correctly but we need a proper testsuite Simo
Diffstat (limited to 'source/lib/ldb/tools/ldbedit.c')
-rw-r--r--source/lib/ldb/tools/ldbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/tools/ldbedit.c b/source/lib/ldb/tools/ldbedit.c
index 66b684f4d5e..4c38ea6803b 100644
--- a/source/lib/ldb/tools/ldbedit.c
+++ b/source/lib/ldb/tools/ldbedit.c
@@ -280,7 +280,7 @@ static int do_edit(struct ldb_context *ldb, struct ldb_message **msgs1, int coun
}
while ((ldif = ldb_ldif_read_file(ldb, f))) {
- msgs2 = talloc_realloc_p(ldb, msgs2, struct ldb_message *, count2+1);
+ msgs2 = talloc_realloc(ldb, msgs2, struct ldb_message *, count2+1);
if (!msgs2) {
fprintf(stderr, "out of memory");
return -1;