git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f414c
)
dbwrap: Remove an unused variable
author
Volker Lendecke
<vl@samba.org>
Fri, 8 May 2015 13:15:37 +0000
(13:15 +0000)
committer
Jeremy Allison
<jra@samba.org>
Tue, 12 May 2015 23:44:20 +0000
(
01:44
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/dbwrap/dbwrap_local_open.c
patch
|
blob
|
history
diff --git
a/lib/dbwrap/dbwrap_local_open.c
b/lib/dbwrap/dbwrap_local_open.c
index c850e3cf2f3bd8b1a2d77f2f50fc7ae221adab71..6509ff97871ed0c3071d42388265d66cca6771f6 100644
(file)
--- a/
lib/dbwrap/dbwrap_local_open.c
+++ b/
lib/dbwrap/dbwrap_local_open.c
@@
-32,13
+32,11
@@
struct db_context *dbwrap_local_open(TALLOC_CTX *mem_ctx,
enum dbwrap_lock_order lock_order,
uint64_t dbwrap_flags)
{
- TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
struct db_context *db = NULL;
db = db_open_tdb(mem_ctx, lp_ctx, name, hash_size,
tdb_flags, open_flags, mode,
lock_order, dbwrap_flags);
- talloc_free(tmp_ctx);
return db;
}