From: Wilfried Goesgens Date: Fri, 15 Nov 2013 11:35:37 +0000 (+0100) Subject: MSG: free the author X-Git-Tag: v9.01~191 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=8ddbd46ffb249a044bc483c338cdd280fe9efcb0 MSG: free the author --- diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 1fff6dc47..9b60f0966 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -3436,6 +3436,7 @@ struct CtdlMessage *CtdlMakeMessageLen( } StrBufRFC2047encode(&FakeEncAuthor, FakeAuthor); CM_SetAsFieldSB(msg, eAuthor, &FakeEncAuthor); + FreeStrBuf(&FakeAuthor); if (CCC->room.QRflags & QR_MAILBOX) { /* room */ CM_SetField(msg, eOriginalRoom, &CCC->room.QRname[11], strlen(&CCC->room.QRname[11]));