X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fhtml2html.c;h=bfa53709cc5ab8994092d9419c85aa0c178518c8;hb=df091f800c07e570d7211772d0983863198d62b4;hp=6a5932da28972a178edea2db3facb98b45b2bdef;hpb=09d3b87661723d9d59cdd64119213ac3b75da581;p=citadel.git diff --git a/webcit/html2html.c b/webcit/html2html.c index 6a5932da2..bfa53709c 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -462,7 +462,7 @@ BAIL: /** A little trailing vertical whitespace... */ /** Now give back the memory */ FreeStrBuf(&converted_msg); - if (msg != NULL) free(msg); + if ((msg != NULL) && (Source == NULL)) free(msg); } /*@}*/