batch 5, API exception handling cleanup

Subject: batch 5, API exception handling cleanup

Date: Tue, 14 Jul 2020 19:41:15 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


This is a followup and extension to

     id:20200709001709.449217-1-david@tethera.net

Since that finished with message.cc, this one starts on database.cc

There is one non-boring patch here, namely

      [PATCH 3/4] lib: move deallocation of memory from n_d_close to n_d_destroy

It (of course) passes the test suite, but it represents a non-trivial
behaviour change for the few people calling notmuch_database_close
directly rather than via notmuch_database_destroy

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: