]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database.cc
Remove the talloc_owner argument from create_for_message_id.
[notmuch] / lib / database.cc
index 8177c6b68109f1df0a56364d3a9e55c52920d049..2b36a5c9d5d2f892cded55cbda0b44ad665b12ba 100644 (file)
@@ -911,9 +911,7 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
         * (which may or may not reference an existing document in the
         * database). */
 
-       /* Use NULL for owner since we want to free this locally. */
-       message = _notmuch_message_create_for_message_id (NULL,
-                                                         notmuch,
+       message = _notmuch_message_create_for_message_id (notmuch,
                                                          message_id,
                                                          &private_status);