[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : gerry
Repository : xara
Revision   : 1379
Date       : Wed Jun 28 12:13:53 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/filters.cpp

Fixed memory leak of OilFilter instances


Diff:
Index: Trunk/XaraLX/Kernel/filters.cpp
===================================================================
--- Trunk/XaraLX/Kernel/filters.cpp	(revision 1378)
+++ Trunk/XaraLX/Kernel/filters.cpp	(revision 1379)
@@ -422,10 +422,7 @@
 Filter::~Filter()
 {
 	// Destroy the associated OILFilter object
-	PORTNOTETRACE("filter","Removed OILFilter usage");
-#ifndef EXCLUDE_FROM_XARALX
 	delete pOILFilter;
-#endif
 
 	// Destory any temporary saved fill attribute
 	if (FillAttr.Temp)


Xara