This seems to be a memory leak, please someone who knows the code look at it!

svn path=/trunk/KDE/kdelibs/; revision=956728
This commit is contained in:
David Nolden 2009-04-20 13:57:57 +00:00
parent 70dc8b1c76
commit db9f615086

View File

@ -191,7 +191,7 @@ void ExtenderGroupPrivate::removeItemFromGroup(Plasma::ExtenderItem *item)
void ExtenderGroupPrivate::themeChanged() void ExtenderGroupPrivate::themeChanged()
{ {
Plasma::Svg *svg = new Plasma::Svg(q); Plasma::Svg *svg = new Plasma::Svg(q);///Who deletes the svg? (Looks like a memory hog/leak on multiple theme changes)
svg->setImagePath("widgets/configuration-icons"); svg->setImagePath("widgets/configuration-icons");
svg->resize(); svg->resize();