diff options
-rw-r--r-- | source3/libsmb/unexpected.c | 3 |
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) { |