projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b55b5
)
Real fix for #3598. We were zeroing out wrong pointer.
author
Andrej Kacian
<ticho@claws-mail.org>
Mon, 8 Feb 2016 17:26:26 +0000
(18:26 +0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Mon, 8 Feb 2016 17:28:08 +0000
(18:28 +0100)
src/procmsg.c
patch
|
blob
|
history
diff --git
a/src/procmsg.c
b/src/procmsg.c
index 153da630d2e1fe8c2fb786f911bac6d3b9c3a7a5..aa3c9a829bcce192867cf69cdb2c068a1a06c140 100644
(file)
--- 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