Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
notmuch: check for long run during db free
`nm_db_release(...)` should protect against freeing a long run database. Prior to this commit, it was up to the programmer to ensure that a long run database was not released. The commit moves the check into `nm_db_release(...)` and removes the checks elsewhere to reduce unnecessary, repeated checks.
- Loading branch information
1 parent
198f1cb
commit 1cdfc0d
Showing
2 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters