]> git.notmuchmail.org Git - notmuch/blobdiff - lib/index.cc
lib: paper over allocation difference
[notmuch] / lib / index.cc
index 044e4111dc0b1420139fe0da429c34421891dd1f..10420d84426ca165659cba5118def218d6020cc3 100644 (file)
@@ -501,7 +501,7 @@ _notmuch_message_index_file (notmuch_message_t *message,
     addresses = g_mime_message_get_from (mime_message);
     if (addresses) {
        _index_address_list (message, "from", addresses);
-       g_object_unref (addresses);
+       g_mime_2_6_unref (addresses);
     }
 
     addresses = g_mime_message_get_all_recipients (mime_message);