]> git.notmuchmail.org Git - notmuch/commit
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)
commit4ca1492f1b6a9172b1dca88aecf1d6e7394ac5d7
treeee7f5a64ee7fae212600d4c1a900462478fb0fdb
parentf6c7810945f1bc25b15dee72257c3b68bd0e8a40
Add destroy functions for results, message, and tags.

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.
message.cc
notmuch.h
query.cc