[Ros-cis] [chorns] 17785: Make sure memory will be freed on delete of DIB section

chorns at svn.reactos.com chorns at svn.reactos.com
Sun Sep 11 13:33:35 CEST 2005


Make sure memory will be freed on delete of DIB section
Modified: trunk/reactos/subsys/win32k/objects/dib.c
  _____  

Modified: trunk/reactos/subsys/win32k/objects/dib.c
--- trunk/reactos/subsys/win32k/objects/dib.c	2005-09-11 10:40:27 UTC
(rev 17784)
+++ trunk/reactos/subsys/win32k/objects/dib.c	2005-09-11 11:32:38 UTC
(rev 17785)
@@ -923,7 +923,6 @@

 	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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-cis/attachments/20050911/b9cfd784/attachment.html


More information about the Ros-cis mailing list