]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Clean up error handling in _notmuch_thread_create
authorAustin Clements <amdragon@MIT.EDU>
Sun, 25 Nov 2012 04:57:02 +0000 (23:57 -0500)
committerDavid Bremner <bremner@debian.org>
Tue, 19 Feb 2013 00:20:09 +0000 (20:20 -0400)
Previously, there were various opportunities for memory leaks in the
error-handling paths of this function.  Use a local talloc context and
some reparenting to make eliminate these leaks, while keeping the
control flow simple.


No differences found