summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-07 21:38:26 +0200
committerVolker Lendecke <vl@samba.org>2010-10-08 21:11:45 +0200
commit812580736ac58a4f0b5d119790c53797f0a85d6e (patch)
tree41c6a0c18ee857996cec421e01c5a299f84f5a83 /source3
parent1e98d5859daceb7d2cbe550803aaec382d2bae86 (diff)
downloadsamba-812580736ac58a4f0b5d119790c53797f0a85d6e.tar.gz
samba-812580736ac58a4f0b5d119790c53797f0a85d6e.tar.bz2
samba-812580736ac58a4f0b5d119790c53797f0a85d6e.zip
s3: Remove talloc_autofree_context() from get_printer_list_db()
Another db that does not need explicit closing
Diffstat (limited to 'source3')
-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;