From: Carl Worth Date: Wed, 21 Oct 2009 05:24:59 +0000 (-0700) Subject: Add destroy functions for results, message, and tags. X-Git-Tag: 0.1~806 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4ca1492f1b6a9172b1dca88aecf1d6e7394ac5d7;hp=4ca1492f1b6a9172b1dca88aecf1d6e7394ac5d7 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. ---