From abe6592a411af1d9b461e0b85792feee7e06db8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 7 Sep 2005 17:54:47 +0000 Subject: [PATCH] Make sure memory will be freed on delete of DIB section svn path=/trunk/; revision=17725 --- reactos/subsys/win32k/objects/dib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/subsys/win32k/objects/dib.c b/reactos/subsys/win32k/objects/dib.c index 247ed67dde5..60a3cc46d71 100644 --- a/reactos/subsys/win32k/objects/dib.c +++ b/reactos/subsys/win32k/objects/dib.c @@ -923,6 +923,7 @@ DIB_CreateDIBSection( 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 -- 2.17.1