]> git.notmuchmail.org Git - notmuch/commitdiff
Add destroy functions for results, message, and tags.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 05:24:59 +0000 (22:24 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 05:24:59 +0000 (22:24 -0700)
None of these are strictly necessary, (everything was leak-free
without them), but notmuch_message_destroy can actually be useful
for when one query has many message results, but only one is needed
to be live at a time.

The destroy functions for results and tags are fairly gratuitous, as
there's unlikely to be any benefit from calling them. But they're all
easy to add, (all of these functions are just wrappers for talloc_free),
and we do so for consistency and completeness.


No differences found