git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_P() to talloc()
[vlendec/samba-autobuild/.git]
/
source3
/
lib
/
dbwrap_tdb.c
diff --git
a/source3/lib/dbwrap_tdb.c
b/source3/lib/dbwrap_tdb.c
index 98fd255ece41da28e7b102817d9bf768a5042e6e..0342725772acf0a3adc89101d296899073f391f6 100644
(file)
--- a/
source3/lib/dbwrap_tdb.c
+++ b/
source3/lib/dbwrap_tdb.c
@@
-347,7
+347,7
@@
struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx,
goto fail;
}
- result->private_data = db_tdb =
TALLOC_P
(result, struct db_tdb_ctx);
+ result->private_data = db_tdb =
talloc
(result, struct db_tdb_ctx);
if (db_tdb == NULL) {
DEBUG(0, ("talloc failed\n"));
goto fail;