summaryrefslogtreecommitdiff
path: root/source3/libsmb/unexpected.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-02 23:44:58 +0200
committerVolker Lendecke <vl@samba.org>2010-10-03 10:45:57 +0200
commit414cd919ffa2bdc842fc66ee2dc286448a92fc7d (patch)
treeae9acfbef2c045c4b48c2bf403c848b4be7f944b /source3/libsmb/unexpected.c
parentda0ef65e04f3e4983f51bc6fb3c9297934da4447 (diff)
downloadsamba-414cd919ffa2bdc842fc66ee2dc286448a92fc7d.tar.gz
samba-414cd919ffa2bdc842fc66ee2dc286448a92fc7d.tar.bz2
samba-414cd919ffa2bdc842fc66ee2dc286448a92fc7d.zip
s3: Remove talloc_autofree_context() from unexpected.c
Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit time, we'd have more severe problems by now.
Diffstat (limited to 'source3/libsmb/unexpected.c')
-rw-r--r--source3/libsmb/unexpected.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 6daf61f4af..7f864957a7 100644
--- 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) {