]> git.notmuchmail.org Git - notmuch/blobdiff - query.cc
Add destroy functions for results, message, and tags.
[notmuch] / query.cc
index c669fb9110a6fed7347ae454ddafa12fac3edbaa..2a1815a748425f34fb20a8e210cd311ec10c1d9d 100644 (file)
--- a/query.cc
+++ b/query.cc
@@ -141,3 +141,9 @@ notmuch_results_advance (notmuch_results_t *results)
 {
     results->iterator++;
 }
+
+void
+notmuch_results_destroy (notmuch_results_t *results)
+{
+    talloc_free (results);
+}