Real fix for Coverity 1372362.
[claws.git] / src / plugins / vcalendar / common-views.c
index e627c29dcb7f85e50f19d06169bb80613a4cb922..ad1e80d97cd47a6da02cad004bf315d204fa27d5 100644 (file)
@@ -209,7 +209,7 @@ void vcal_view_select_event (const gchar *uid, FolderItem *item, gboolean edit,
                                               G_CALLBACK(block_cb), block_data);
                           summary_select_by_msgnum(summaryview, info->msgnum);
                           summary_display_msg_selected(summaryview, FALSE);
-                          procmsg_msginfo_free(info);
+                          procmsg_msginfo_free(&info);
                           g_signal_handlers_unblock_by_func(G_OBJECT(summaryview->ctree),
                                               G_CALLBACK(block_cb), block_data);
                   }