git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0ef65
)
s3: Remove talloc_autofree_context() from unexpected.c
author
Volker Lendecke
<vl@samba.org>
Sat, 2 Oct 2010 21:44:58 +0000
(23:44 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 3 Oct 2010 08:45:57 +0000
(10:45 +0200)
Same argument as in
997a64f6fb11e19d78c
: If tdb_close() was needed at exit
time, we'd have more severe problems by now.
source3/libsmb/unexpected.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/unexpected.c
b/source3/libsmb/unexpected.c
index 6daf61f4af7b1b1893895e83bc5c9dcc908eb4fc..7f864957a73f001f3b5fa230097173a9f33d5df9 100644
(file)
--- a/
source3/libsmb/unexpected.c
+++ b/
source3/libsmb/unexpected.c
@@
-45,8
+45,7
@@
void unexpected_packet(struct packet_struct *p)
uint32_t enc_ip;
if (!tdbd) {
- tdbd = tdb_wrap_open(talloc_autofree_context(),
- lock_path("unexpected.tdb"), 0,
+ tdbd = tdb_wrap_open(NULL, lock_path("unexpected.tdb"), 0,
TDB_CLEAR_IF_FIRST|TDB_DEFAULT|TDB_INCOMPATIBLE_HASH,
O_RDWR | O_CREAT, 0644);
if (!tdbd) {