ChangeLog: Allocate palette objects on the large heap instead of the GDI heap to avoid GDI heap saturation. Description: Since a palette can theorically be infinite there's a risk of filling up the small size GDI heap if we allocate palette objects on it. We encountered that problem when playing some Windows metafiles that contained multiple fairly large palettes. Warren Baird : Warren_Baird@cimmetry.com Xavier Servettaz diff -ur clean/wine/objects/gdiobj.c wine/objects/gdiobj.c --- clean/wine/objects/gdiobj.c Wed Jan 29 15:31:13 2003 +++ wine/objects/gdiobj.c Fri Jan 31 13:46:38 2003 @@ -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; }