summaryrefslogtreecommitdiff
path: root/source3/lib/serverid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/serverid.c')
-rw-r--r--source3/lib/serverid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index 3c86701596..f0c61aeb82 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -61,8 +61,8 @@ static struct db_context *serverid_db(void)
if (db != NULL) {
return db;
}
- db = db_open(talloc_autofree_context(), lock_path("serverid.tdb"),
- 0, TDB_DEFAULT|TDB_CLEAR_IF_FIRST, O_RDWR|O_CREAT, 0644);
+ db = db_open(NULL, lock_path("serverid.tdb"), 0,
+ TDB_DEFAULT|TDB_CLEAR_IF_FIRST, O_RDWR|O_CREAT, 0644);
return db;
}