[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2005-06-15 6:37:36
Message-ID: 1118817456.751797.17483.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 425614 by cgilles:

Fix memory leak;


 M  +2 -0      libs/widgets/curveswidget.cpp  
 M  +2 -0      libs/widgets/histogramwidget.cpp  
 M  +2 -0      utilities/imageeditor/canvas.cpp  


--- trunk/extragear/graphics/digikam/libs/widgets/curveswidget.cpp #425613:425614
@@ -167,6 +167,8 @@
             emit signalHistogramComputationFailed();
             }
         }
+
+    delete d;
 }
 
 void CurvesWidget::stopHistogramComputation(void)
--- trunk/extragear/graphics/digikam/libs/widgets/histogramwidget.cpp #425613:425614
@@ -230,6 +230,8 @@
             emit signalHistogramComputationFailed();
             }
         }
+
+    delete d;
 }
 
 void HistogramWidget::stopHistogramComputation(void)
--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas.cpp #425613:425614
@@ -209,6 +209,8 @@
         getHistogramRect(rc);
         viewport()->update(rc);
     }
+
+    delete ed;
 }
 
 /**
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic