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:
parent
9eb10b594f
commit
235b643d03
@ -49,7 +49,10 @@ class SignalPlotterPrivate
|
|||||||
SignalPlotterPrivate()
|
SignalPlotterPrivate()
|
||||||
: svgBackground(0)
|
: svgBackground(0)
|
||||||
{ }
|
{ }
|
||||||
~SignalPlotterPrivate() { }
|
~SignalPlotterPrivate()
|
||||||
|
{
|
||||||
|
delete svgBackground;
|
||||||
|
}
|
||||||
|
|
||||||
int precision;
|
int precision;
|
||||||
uint samples;
|
uint samples;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user