diff options
author | David Bremner <bremner@debian.org> | 2012-03-18 08:36:33 -0300 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-03-18 08:36:33 -0300 |
commit | fc4e5248d29cf7264481cbff82343eade5fcc2ca (patch) | |
tree | 9d5364587f18ee9705ebefec4be3ea4b4aeb9c6e /lib | |
parent | 4d17a34286dc67fd434a9c8ca3518bf878ecf78b (diff) | |
parent | 9325cae5f46e543aedb790cfe62a4faabcba949c (diff) |
Merge tag '0.12_rc2'
notmuch 0.12~rc2 release
Diffstat (limited to 'lib')
-rw-r--r-- | lib/database.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc index 8f8df1a1..16c4354f 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -1825,6 +1825,9 @@ notmuch_database_find_message_by_filename (notmuch_database_t *notmuch, if (message_ret == NULL) return NOTMUCH_STATUS_NULL_POINTER; + /* return NULL on any failure */ + *message_ret = NULL; + local = talloc_new (notmuch); try { |