allocate palette objects on the large heap.
Rein Klazes
rklazes at xs4all.nl
Sun Jan 19 07:58:13 CST 2003
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 at xs4all.nl
-------------- next part --------------
--- 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;
}
More information about the wine-patches
mailing list