[Digikam-devel] extragear/graphics/digikam/digikam

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] extragear/graphics/digikam/digikam

Gilles Caulier
SVN commit 606923 by cgilles:

digikam from trunk : fix huge memory corruption relevant of a wrong deletion of data shared between preview kio-slave and digiKam.
Without this fix, digiKam is unstable with unsupported/broken pictures to show. It can crash everywhere with a non suitable backtrace.
I have working hard to find this problem.

I would to thanks again and again valgrind team who have provided a great debuging tool.

CCMAIL: [hidden email]



 M  +0 -6      imagepreviewwidget.cpp  


--- trunk/extragear/graphics/digikam/digikam/imagepreviewwidget.cpp #606922:606923
@@ -141,12 +141,6 @@
 
 void ImagePreviewWidget::slotFailedImagePreview(const KURL&)
 {
-    if (!d->previewJob.isNull())
-    {
-        d->previewJob->kill();
-        d->previewJob = 0;
-    }
-
     d->preview = QImage();
     d->pixmap  = QPixmap(contentsRect().size());
     updatePixmap();
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel