]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops, avoid double free
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jul 2019 15:33:10 +0000 (16:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Jul 2019 15:33:10 +0000 (16:33 +0100)
src/libmime/message.c

index d0c572ac2fe7648964b176591a30c0f3dd085565..75e403e705acb46bc2d1e622cb893d3d274255f2 100644 (file)
@@ -1127,9 +1127,6 @@ rspamd_message_dtor (struct rspamd_message *msg)
        g_ptr_array_unref (msg->text_parts);
        g_ptr_array_unref (msg->parts);
 
-       g_ptr_array_unref (msg->from_mime);
-       g_ptr_array_unref (msg->rcpt_mime);
-
        g_hash_table_unref (msg->urls);
        g_hash_table_unref (msg->emails);
 }