projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7a5da
)
Make sure memory will be freed on delete of DIB section
author
Gé van Geldorp
<ge@gse.nl>
Wed, 7 Sep 2005 17:54:47 +0000
(17:54 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Wed, 7 Sep 2005 17:54:47 +0000
(17:54 +0000)
svn path=/trunk/; revision=17725
reactos/subsys/win32k/objects/dib.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/dib.c
b/reactos/subsys/win32k/objects/dib.c
index
247ed67
..
60a3cc4
100644
(file)
--- 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