[Commits] [SCM] claws branch, master, updated. 3.13.2-4-gcbc3670
ticho at claws-mail.org
ticho at claws-mail.org
Sat Jan 23 20:42:10 CET 2016
The branch, master has been updated
via cbc36707c3f39c95ea45d83428ca15a06cc979be (commit)
from bfb18150efae6fc3eb1c7f436e1ffc86c8e375fa (commit)
Summary of changes:
src/procmsg.c | 3 +++
1 file changed, 3 insertions(+)
- Log -----------------------------------------------------------------
commit cbc36707c3f39c95ea45d83428ca15a06cc979be
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sat Jan 23 20:41:25 2016 +0100
Zero out few forgotten pointers in procmsg_msginfo_free().
This is a follow-up to commit bfb1815.
diff --git a/src/procmsg.c b/src/procmsg.c
index d47ebaf..d3f11a7 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -1409,6 +1409,7 @@ void procmsg_msginfo_free(MsgInfo **msginfo_ptr)
(GFunc)procmsg_msginfoavatar_free,
NULL);
g_slist_free(msginfo->extradata->avatars);
+ msginfo->extradata->avatars = NULL;
}
FREENULL(msginfo->extradata->returnreceiptto);
FREENULL(msginfo->extradata->dispositionnotificationto);
@@ -1425,7 +1426,9 @@ void procmsg_msginfo_free(MsgInfo **msginfo_ptr)
FREENULL(msginfo->extradata);
}
slist_free_strings_full(msginfo->references);
+ msginfo->references = NULL;
g_slist_free(msginfo->tags);
+ msginfo->tags = NULL;
FREENULL(msginfo->plaintext_file);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list