talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit cd7f85f7eb6db97e86a8830e28116d26223d4e26
parent 14b55b5122349d18fa15f3b10c1067f19657ca10
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Mon,  8 Feb 2016 18:26:26 +0100

Real fix for #3598. We were zeroing out wrong pointer.

Diffstat:
Msrc/procmsg.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/procmsg.c b/src/procmsg.c @@ -1431,7 +1431,8 @@ void procmsg_msginfo_free(MsgInfo **msginfo_ptr) FREENULL(msginfo->plaintext_file); - FREENULL(msginfo); + g_free(msginfo); + *msginfo_ptr = NULL; } #undef FREENULL