diff options
| author | David Bremner <david@tethera.net> | 2020-07-14 08:25:28 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-07-22 19:52:55 -0300 |
| commit | 095d3d7134f5668b96cf1d70997d3f110b03c898 (patch) | |
| tree | b8797c00c8898b2e7b26172e91e0ee24b94837cc /parse-time-string | |
| parent | 920dc56e605405bb7413d958ac80b8b84d7a8a0f (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
