Make sure memory will be freed on delete of DIB section
Modified: trunk/reactos/subsys/win32k/objects/dib.c
--- trunk/reactos/subsys/win32k/objects/dib.c 2005-09-07 17:20:28 UTC (rev 17724) +++ trunk/reactos/subsys/win32k/objects/dib.c 2005-09-07 17:54:47 UTC (rev 17725) @@ -923,6 +923,7 @@
return NULL; } bmp->dib = (DIBSECTION *) dib;
+ bmp->flFlags = BITMAPOBJ_IS_APIBITMAP;
/* WINE NOTE: WINE makes use of a colormap, which is a color translation table between the DIB and the X physical device. Obviously, this is left out of the ReactOS implementation. Instead, we call