[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kdm/kfrontend/themer
From:       Andreas Kling <kling () impul ! se>
Date:       2006-09-18 21:57:16
Message-ID: 1158616636.066460.18005.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 586167 by kling:

KSVGIconEngine::image() returns a `new QImage' that the caller must delete.


 M  +1 -0      kdmpixmap.cpp  


--- branches/KDE/3.5/kdebase/kdm/kfrontend/themer/kdmpixmap.cpp #586166:586167
@@ -126,6 +126,7 @@
 		QImage *t = svgEngine->image();
 		pClass->pixmap = *t;
 		pClass->readyPixmap.resize( 0, 0 );
+		delete t;
 	} else {
 		kdWarning() << "failed to load " << pClass->fullpath << endl;
 		pClass->fullpath = QString::null;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic