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

[XaraXtreme-commits] Commit Complete



Commit by  : gerry
Repository : xara
Revision   : 1378
Date       : Wed Jun 28 12:12:55 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/dibconv.cpp

Fixed memory leak (delete was PORTNOTEd)


Diff:
Index: Trunk/XaraLX/wxOil/dibconv.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dibconv.cpp	(revision 1377)
+++ Trunk/XaraLX/wxOil/dibconv.cpp	(revision 1378)
@@ -818,12 +818,9 @@
 
 Conv24to8::~Conv24to8()
 {
-	PORTNOTETRACE("other","DIBConvert::~Conv24to8 - do nothing");
-#ifndef EXCLUDE_FROM_XARALX
 	GRenderRegion::EnsurePalette(-1);
 	if (InputBuffer32bpp != NULL)
 		CCFree(InputBuffer32bpp);
-#endif
 }
 
 BOOL Conv24to8::Convert( LPBYTE Input, LPBYTE Output, UINT32 Height, BOOL FirstStrip )


Xara