Make procmsg_msginfo_free() zero out pointers to freed memory.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 23 Jan 2016 14:40:38 +0000 (15:40 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 23 Jan 2016 15:45:02 +0000 (16:45 +0100)
commitbfb18150efae6fc3eb1c7f436e1ffc86c8e375fa
tree7434f0bdcb183bb1711ec99282d80eadc46ee6f8
parentd4fa90e495fe3c6c6d04391c0beb1f7745bb3741
Make procmsg_msginfo_free() zero out pointers to freed memory.

The function's argument type changes from MsgInfo* to MsgInfo**,
so that we can zero out the pointer.

This closes bug #3598, reported by Hanno Boeck.
21 files changed:
src/action.c
src/compose.c
src/folder.c
src/folderutils.c
src/imap.c
src/inc.c
src/mainwindow.c
src/mbox.c
src/messageview.c
src/mh.c
src/msgcache.c
src/partial_download.c
src/plugins/att_remover/att_remover.c
src/plugins/vcalendar/common-views.c
src/plugins/vcalendar/vcal_folder.c
src/plugins/vcalendar/vcalendar.c
src/procmime.c
src/procmsg.c
src/procmsg.h
src/send_message.c
src/summaryview.c