Make procmsg_msginfo_free() zero out pointers to freed memory.
[claws.git] / src / partial_download.c
index 8a385b6f435c0e349ad5ccf74b998e1d53eeff48..5694b0d8e6b60701339ae4e706c848a997deca29 100644 (file)
@@ -328,7 +328,7 @@ static int partial_uidl_mark_mail(MsgInfo *msginfo, int download)
        err = 0;
 bail:
        g_free(filename);
-       procmsg_msginfo_free(tinfo);
+       procmsg_msginfo_free(&tinfo);
        
        return err;
 }