summaryrefslogtreecommitdiffstats
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-05-20 09:05:22 -0300
committerDavid Bremner <david@tethera.net>2017-07-14 21:23:52 -0300
commit4ce7591610444a1c5ef6f56b57af8e180437fa62 (patch)
tree072fe6c7b6e5963ba0ff059d4024b3ece8a30704 /notmuch-reply.c
parenteeb64cdeeb134bcd30c0927bde74dea8e9a7b88a (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 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 4c1dd560..430c466c 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -286,7 +286,7 @@ static InternetAddressList *get_sender(GMimeMessage *message)
if (! reply_to_header_is_redundant (message, reply_to_list))
return reply_to_list;
- g_object_unref (G_OBJECT (reply_to_list));
+ g_mime_2_6_unref (G_OBJECT (reply_to_list));
}
return g_mime_message_get_from (message);