* free our buffer...
authorWilfried Göesgens <willi@citadel.org>
Mon, 9 Feb 2009 09:15:02 +0000 (09:15 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 9 Feb 2009 09:15:02 +0000 (09:15 +0000)
webcit/html2html.c

index 12cd1b198007d9d90a518cf6047dc3cc59d6fd1a..9b57db5826b79017895753a826b55b6341f05da2 100644 (file)
@@ -514,8 +514,10 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St
                }
                if (!strncasecmp(ptr, "</A>", 3)) --alevel;
        }
-       if (BodyArea != NULL) 
+       if (BodyArea != NULL) {
                StrBufAppendBufPlain(converted_msg, HKEY("</td></tr></table>"), 0);  
+               FreeStrBuf(&BodyArea);
+       }
 
        /**     uncomment these two lines to override conversion        */
        /**     memcpy(converted_msg, msg, content_length);             */