From: Wilfried Göesgens Date: Mon, 9 Feb 2009 09:15:02 +0000 (+0000) Subject: * free our buffer... X-Git-Tag: v7.86~1477 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=101bedd1972e7da0ea00dff207a73fcb24e45d16 * free our buffer... --- diff --git a/webcit/html2html.c b/webcit/html2html.c index 12cd1b198..9b57db582 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -514,8 +514,10 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St } if (!strncasecmp(ptr, "", 3)) --alevel; } - if (BodyArea != NULL) + if (BodyArea != NULL) { StrBufAppendBufPlain(converted_msg, HKEY(""), 0); + FreeStrBuf(&BodyArea); + } /** uncomment these two lines to override conversion */ /** memcpy(converted_msg, msg, content_length); */