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

List:       kde-commits
Subject:    koffice/libs/pigment
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2010-04-22 18:26:53
Message-ID: 20100422182653.1AB3FAC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1117668 by rempt:

fix memory leak. Patch by lassi.ta.nieminen@nokia.com

 M  +4 -0      KoColorSpaceRegistry.cpp  


--- trunk/koffice/libs/pigment/KoColorSpaceRegistry.cpp #1117667:1117668
@@ -134,6 +134,10 @@
     delete d->colorConversionCache;
     d->colorConversionCache = 0;
 
+    foreach(KoColorSpaceFactory* item, d->colorsSpaceFactoryRegistry.values()) {
+       delete item;
+    } 
+
     // Do not explicitly delete d->rgbU8sRGB and d->lab16sLAB, since they are contained in the d->csMap
     delete d;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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