rev 4970 - in kde-extras/digikam/trunk/debian: . patches

Achim Bohnet ach-guest at alioth.debian.org
Wed Nov 22 16:32:20 UTC 2006


Author: ach-guest
Date: 2006-11-22 17:32:20 +0100 (Wed, 22 Nov 2006)
New Revision: 4970

Added:
   kde-extras/digikam/trunk/debian/patches/12_kde_606923_fix_huge_memory_leak.diff
Modified:
   kde-extras/digikam/trunk/debian/changelog
Log:
digikam: Include an important patch from KDE svn
    + patches/12_kde_606923_fix_huge_memory_leak.diff: 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.

Modified: kde-extras/digikam/trunk/debian/changelog
===================================================================
--- kde-extras/digikam/trunk/debian/changelog	2006-11-22 14:47:19 UTC (rev 4969)
+++ kde-extras/digikam/trunk/debian/changelog	2006-11-22 16:32:20 UTC (rev 4970)
@@ -16,6 +16,11 @@
       when it's a null string KDEBUG: 137495
     + 11_kdesvn_606805_file-extention-parsing.diff: dcraw fail to decode a
        RAW file. KDEBUG: 137495
+    + patches/12_kde_606923_fix_huge_memory_leak.diff: 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.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Tue, 21 Nov 2006 17:44:48 +0100
 

Added: kde-extras/digikam/trunk/debian/patches/12_kde_606923_fix_huge_memory_leak.diff
===================================================================
--- kde-extras/digikam/trunk/debian/patches/12_kde_606923_fix_huge_memory_leak.diff	2006-11-22 14:47:19 UTC (rev 4969)
+++ kde-extras/digikam/trunk/debian/patches/12_kde_606923_fix_huge_memory_leak.diff	2006-11-22 16:32:20 UTC (rev 4970)
@@ -0,0 +1,17 @@
+Index: digikam/digikam/imagepreviewwidget.cpp
+===================================================================
+--- digikam/digikam/imagepreviewwidget.cpp	(Revision 606922)
++++ digikam/digikam/imagepreviewwidget.cpp	(Revision 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();




More information about the pkg-kde-commits mailing list