From kde-commits Sun Oct 31 20:51:44 2004 From: Rob Buis Date: Sun, 31 Oct 2004 20:51:44 +0000 To: kde-commits Subject: kdenonbeta/kdom/parser/qxml Message-Id: <20041031205144.D46BC16BF7 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109925591331141 CVS commit by buis: Also delete QBuffer in qxml parser, fixes a memleak according to valgrind. M +1 -0 QXmlParser.cc 1.38 --- kdenonbeta/kdom/parser/qxml/QXmlParser.cc #1.37:1.38 @@ -81,4 +81,5 @@ void QXmlParser::slotLoadingFinished(QBu QXmlInputSource inputSource(buffer); m_reader.parse(&inputSource); + delete buffer; }