diff options
| author | David Bremner <david@tethera.net> | 2017-05-20 09:05:22 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-07-14 21:23:52 -0300 |
| commit | 4ce7591610444a1c5ef6f56b57af8e180437fa62 (patch) | |
| tree | 072fe6c7b6e5963ba0ff059d4024b3ece8a30704 /lib/index.cc | |
| parent | eeb64cdeeb134bcd30c0927bde74dea8e9a7b88a (diff) | |
lib: paper over allocation difference
In gmime 3.0 this function is "transfer none", so no deallocation is
needed (or permitted)
Diffstat (limited to 'lib/index.cc')
| -rw-r--r-- | lib/index.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.cc b/lib/index.cc index 044e4111..10420d84 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -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); |
