]> git.cworth.org Git - notmuch/commit
lib/open: use db struct as talloc ctx for choose_database_path
authorDavid Bremner <david@tethera.net>
Sat, 25 Dec 2021 13:33:02 +0000 (09:33 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 15 Jan 2022 19:51:33 +0000 (15:51 -0400)
commitfd0edeb561e5593d8a834fcc74602b2d8c637123
tree0d3a306a99aa18859b3e8ea21bdebedc1dcc32c2
parent237f803fdbf8978514d0f6b56e9d1aaf51cb3153
lib/open: use db struct as talloc ctx for choose_database_path

The extra talloc struct "local" was left over from before the notmuch
struct was allocated earlier. Having the notmuch struct available in
this function will allow more flexibility to track the configuration
variations (e.g. split vs. non-split).
lib/open.cc