From 414cd919ffa2bdc842fc66ee2dc286448a92fc7d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 2 Oct 2010 23:44:58 +0200 Subject: 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. --- source3/libsmb/unexpected.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/libsmb') 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) { -- cgit