projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
380a65d
)
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>
Mon, 15 Nov 2010 19:01:20 +0000
(20:01 +0100)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index 68484783b2cb52f21e1cd82334f42f1e91114f2e..b090bf41c70150bb1c12f1852ddb8cf55025f18c 100644
(file)
--- a/
citadel/msgbase.c
+++ b/
citadel/msgbase.c
@@
-3527,6
+3527,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]);