From 812580736ac58a4f0b5d119790c53797f0a85d6e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 7 Oct 2010 21:38:26 +0200 Subject: s3: Remove talloc_autofree_context() from get_printer_list_db() Another db that does not need explicit closing --- source3/printing/printer_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing') diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index 8e9e06ac7e..edc398ba77 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -35,7 +35,7 @@ static struct db_context *get_printer_list_db(void) if (db != NULL) { return db; } - db = db_open(talloc_autofree_context(), PL_DB_NAME(), 0, + db = db_open(NULL, PL_DB_NAME(), 0, TDB_DEFAULT|TDB_CLEAR_IF_FIRST|TDB_INCOMPATIBLE_HASH, O_RDWR|O_CREAT, 0644); return db; -- cgit