aboutsummaryrefslogtreecommitdiff
path: root/parse-time-string
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-14 08:25:28 -0300
committerDavid Bremner <david@tethera.net>2020-07-22 19:52:55 -0300
commit095d3d7134f5668b96cf1d70997d3f110b03c898 (patch)
treeb8797c00c8898b2e7b26172e91e0ee24b94837cc /parse-time-string
parent920dc56e605405bb7413d958ac80b8b84d7a8a0f (diff)
lib: move deallocation of memory from n_d_close to n_d_destroy
In order to mimic the "best effort" API of Xapian to provide information from a closed database when possible, do not destroy the Xapian database object too early. Because the pointer to a Xapian database is no longer nulled on close, introduce a flag to track whether the notmuch database is open or not.
Diffstat (limited to 'parse-time-string')
0 files changed, 0 insertions, 0 deletions