KDE/kdebase/workspace/libs/plasma/widgets

Marco Martin notmart at gmail.com
Tue Jul 29 11:10:15 CEST 2008


SVN commit 839007 by mart:

fix mem leak
should i backport it to 4.1?
CCMAIL:plasma-devel at kde.org


 M  +4 -1      signalplotter.cpp  


--- trunk/KDE/kdebase/workspace/libs/plasma/widgets/signalplotter.cpp #839006:839007
@@ -49,7 +49,10 @@
         SignalPlotterPrivate()
             : svgBackground(0)
         { }
-        ~SignalPlotterPrivate() { }
+        ~SignalPlotterPrivate()
+        {
+            delete svgBackground;
+        }
 
     int precision;
     uint samples;


More information about the Plasma-devel mailing list