projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb1815
)
Zero out few forgotten pointers in procmsg_msginfo_free().
author
Andrej Kacian
<ticho@claws-mail.org>
Sat, 23 Jan 2016 19:41:25 +0000
(20:41 +0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sat, 23 Jan 2016 19:41:25 +0000
(20:41 +0100)
This is a follow-up to commit
bfb1815
.
src/procmsg.c
patch
|
blob
|
history
diff --git
a/src/procmsg.c
b/src/procmsg.c
index d47ebaf4a59e5bafe2be1f47cbcca0a29138b195..d3f11a7d05702f135635e6f8580b477d0efd1a2c 100644
(file)
--- 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);