/* Add attachments */
if (attachments)
add_attachments (TNY_MIME_PART (new_msg), attachments, FALSE);
+ if (header)
+ g_object_unref(header);
return new_msg;
}
/* Add attachments */
add_attachments (TNY_MIME_PART (new_msg), attachments, FALSE);
add_images (new_msg, images);
+ if (header)
+ g_object_unref(header);
return new_msg;
}