* fix memleak in msgescputs; temporary StrBuf needs to be freed.
authorWilfried Göesgens <willi@citadel.org>
Thu, 4 Sep 2008 07:40:28 +0000 (07:40 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 4 Sep 2008 07:40:28 +0000 (07:40 +0000)
webcit/webcit.c

index 7e3080bcec5fce19606bdf5d71b33c86639d975c..d2c2c2cd0eef79d09bdad9a94da4126f8676cefe 100644 (file)
@@ -617,6 +617,7 @@ void msgescputs1( char *strbuf)
                return;
        StrMsgEscAppend(OutBuf, NULL, strbuf);
        StrEscAppend(WC->WBuf, OutBuf, NULL, 0, 0);
+       FreeStrBuf(&OutBuf);
 }
 
 /*