Make procmsg_msginfo_free() zero out pointers to freed memory.
[claws.git] / src / plugins / vcalendar / vcalendar.c
index 2a924e4..a47f862 100644 (file)
@@ -217,7 +217,7 @@ bail:
                        g_free(url);
                }
 
-               procmsg_msginfo_free(msginfo);
+               procmsg_msginfo_free(&msginfo);
        }
 
        statusbar_progress_all(0,0,0);