From: Austin Clements Date: Sun, 29 Jan 2012 05:50:10 +0000 (-0500) Subject: lib: Use talloc to simplify cleanup in notmuch_database_open X-Git-Tag: debian/0.12_rc1-1~127 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=c32116d04807eec475d7e19bb6723c35bc399059;hp=c32116d04807eec475d7e19bb6723c35bc399059 lib: Use talloc to simplify cleanup in notmuch_database_open Previously, we manually "free"d various pointers in notmuch_database_open. Use a local talloc context instead to simplify cleanup and eliminate various NULL pointer initializations and conditionals. ---