projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c64489
)
Memleak: CtdlMakeMessage(): don't forget about the original author.
author
Wilfried Goesgens
<dothebart@citadel.org>
Mon, 15 Nov 2010 11:46:17 +0000
(12:46 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 16 Nov 2010 21:45:43 +0000
(22:45 +0100)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index be2096d1d6b319f089d78b8fe5f536f1b6db8528..f3b7f2dd8d94fa09c8908567bb650499ded2f2a7 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-3474,6
+3474,7
@@
struct CtdlMessage *CtdlMakeMessage(
}
StrBufRFC2047encode(&FakeEncAuthor, FakeAuthor);
msg->cm_fields['A'] = SmashStrBuf(&FakeEncAuthor);
+ FreeStrBuf(&FakeAuthor);
if (CC->room.QRflags & QR_MAILBOX) { /* room */
msg->cm_fields['O'] = strdup(&CC->room.QRname[11]);