- if (msg == info->msg) {
- g_signal_handler_disconnect (queue, info->msg_sent_handler);
- info->msg_sent_handler = 0;
- g_signal_handler_disconnect (queue, info->error_happened_handler);
- info->error_happened_handler = 0;
- g_object_unref (info->msg);
- modest_mail_operation_notify_end (info->mail_op);
- g_object_unref (info->mail_op);
- g_slice_free (SendMsgInfo, info);
- }
+ g_signal_handler_disconnect (queue, info->msg_sent_handler);
+ g_signal_handler_disconnect (queue, info->error_happened_handler);
+
+ g_object_unref (info->msg);
+ modest_mail_operation_notify_end (info->mail_op);
+ g_object_unref (info->mail_op);
+
+ g_slice_free (SendMsgInfo, info);