Version: 1.9.91 (using KDE 4.0.0)
Installed from: Compiled From Sources
Steps to Reproduce:
1. Switch to icon mode (so you get the pretty pictures :-D)
2. Have the sidebar show the larger version
3. Move your mouse over the different elements.
4. Watch your memory usage gradually increase as the pictures change.
Patch attached below.
Created attachment 23464 [details]
Remove memory leak
This patch removes the memory leak. The QSvgRenderer is short-lived, so might
as well allocate it on the stack.
(Also a couple minor things like the static QFile::exists(QString) instead of
creating an object. It seems to go via QFileInfo, which I presume stat()s the
file. And endsWith instead of the regexp which had a minor problem with . being
a wildcard anyway.)
SVN commit 772723 by cniehaus:
Fix four bugs. All patches have been provided by David Benjamin.
M +8 -5 detailedgraphicaloverview.cpp
M +4 -2 detailinfodlg.cpp
M +1 -1 kalzium.cpp
M +3 -5 kalziumdataobject.cpp
M +1 -2 molcalcwidget.cpp
M +2 -31 molcalcwidgetbase.ui
WebSVN link: http://websvn.kde.org/?view=rev&revision=772723