]> git.cworth.org Git - obsolete/notmuch-old/commit
new: Fix missing end_atomic in remove_filename on error
authorAustin Clements <amdragon@MIT.EDU>
Sun, 22 Apr 2012 15:50:52 +0000 (11:50 -0400)
committerDavid Bremner <bremner@debian.org>
Wed, 25 Apr 2012 02:25:52 +0000 (23:25 -0300)
commit2e7b6494046342872f1f79418679b1554d6d1005
tree8f6e5a73f33c82bc4ba859572aa884828440c9cb
parent746fef0aeafe1f29720140ab8778cdee22d519cb
new: Fix missing end_atomic in remove_filename on error

Previously, if we failed to find the message by filename in
remove_filename, we would return immediately from the function without
ending its atomic block.  Now this code follows the usual goto DONE
idiom to perform cleanup.
notmuch-new.c