X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=message.cc;h=ca4a16c79bc941c3be27299af8615fd85f90ccf0;hp=cc157c8b010f3f5aaa0c0f9675639da12d10e1ec;hb=0e914d9e9646349976c16472be9e986ad4b3e29e;hpb=f6c7810945f1bc25b15dee72257c3b68bd0e8a40 diff --git a/message.cc b/message.cc index cc157c8b..ca4a16c7 100644 --- a/message.cc +++ b/message.cc @@ -115,6 +115,12 @@ notmuch_message_get_tags (notmuch_message_t *message) return tags; } +void +notmuch_message_destroy (notmuch_message_t *message) +{ + talloc_free (message); +} + notmuch_bool_t notmuch_tags_has_more (notmuch_tags_t *tags) { @@ -141,3 +147,9 @@ notmuch_tags_advance (notmuch_tags_t *tags) { tags->iterator++; } + +void +notmuch_tags_destroy (notmuch_tags_t *tags) +{ + talloc_free (tags); +}