fix mem leak

should i backport it to 4.1?
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839007
This commit is contained in:
Marco Martin 2008-07-29 09:10:14 +00:00
parent 9eb10b594f
commit 235b643d03

View File

@ -49,7 +49,10 @@ class SignalPlotterPrivate
SignalPlotterPrivate()
: svgBackground(0)
{ }
~SignalPlotterPrivate() { }
~SignalPlotterPrivate()
{
delete svgBackground;
}
int precision;
uint samples;