summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printer_list.c2
1 files changed, 1 insertions, 1 deletions
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;