allocate palette objects on the large heap.

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

 



Hi,

Girotel Offline creates 78 palette objects using 1044 bytes each. That
doesn't fit on the 16bit gdi heap. It is not a leak: each object is
freed when the program closes. Using NtObjects (www.smidgeonsoft.com)
shows that under NT2K the program creates the same number of palette
objects.

Changelog:

	objects:	gdiobj.c
	Allocate palette objects on the large gdi heap.

Rein. 
-- 
Rein Klazes
rklazes@xs4all.nl
--- wine/objects/gdiobj.c	2002-12-03 20:18:41.000000000 +0100
+++ mywine/objects/gdiobj.c	2003-01-19 14:09:46.000000000 +0100
@@ -693,6 +693,7 @@
     case ENHMETAFILE_MAGIC:
     case ENHMETAFILE_DC_MAGIC:
     case BITMAP_MAGIC:
+    case PALETTE_MAGIC:
         if (!(obj = alloc_large_heap( size, handle ))) goto error;
         break;
     }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux