Make sure memory will be freed on delete of DIB section

svn path=/trunk/; revision=17725
This commit is contained in:
Gé van Geldorp
2005-09-07 17:54:47 +00:00
parent 3b7a5daefb
commit abe6592a41
+1
View File
@@ -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