From: Ali Polatel <alip@exherbo.org> New set of patches addressing the issues in the mail "id:20111003174308.GD17905@mit.edu" Ali Polatel (2): lib: destroy message object after message removal lib: make find_message{,by_filename) report errors lib/database.cc | 95 +++++++++++++++++++++++++++++++++++----------------- lib/message.cc | 8 +++-- lib/notmuch.h | 60 +++++++++++++++++++++++---------- notmuch-new.c | 4 ++- notmuch-restore.c | 11 ++++-- 5 files changed, 120 insertions(+), 58 deletions(-) -- 1.7.6.1