summaryrefslogtreecommitdiff
path: root/message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'message.cc')
-rw-r--r--message.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/message.cc b/message.cc
index cc157c8..ca4a16c 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);
+}