]> git.notmuchmail.org Git - notmuch/commit
lib: Release resources if notmuch_database_open fails
authorAustin Clements <amdragon@MIT.EDU>
Sun, 29 Jan 2012 05:50:09 +0000 (00:50 -0500)
committerDavid Bremner <bremner@debian.org>
Sat, 4 Feb 2012 01:15:26 +0000 (21:15 -0400)
commit6c0adab23eadb81bb1254f4b82175902df11bb3f
tree474786841acf74f768b64e5c1c8e0aeffa559c0a
parenta8ee1c75c348f41d88398fc394812e66e8e8b72e
lib: Release resources if notmuch_database_open fails

Previously, if a Xapian exception occurred in notmuch_database_open,
we failed to clean up the allocated notmuch_database_t object.
lib/database.cc