Author: tkreuzer
Date: Mon Feb 22 20:27:35 2010
New Revision: 45659
URL:
http://svn.reactos.org/svn/reactos?rev=45659&view=rev
Log:
[GDI32]
- Quickfix the region leak, by commenting out the user mode part in DeleteRegion. Thanks
to Caemyr for finding the guilty revision.
Modified:
trunk/reactos/dll/win32/gdi32/objects/region.c
Modified: trunk/reactos/dll/win32/gdi32/objects/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/re…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/region.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/region.c [iso-8859-1] Mon Feb 22 20:27:35 2010
@@ -104,6 +104,7 @@
FASTCALL
DeleteRegion( HRGN hRgn )
{
+#if 0
PRGN_ATTR Rgn_Attr;
if ((GdiGetHandleUserData((HGDIOBJ) hRgn, GDI_OBJECT_TYPE_REGION, (PVOID)
&Rgn_Attr)) &&
@@ -127,6 +128,7 @@
}
}
}
+#endif
return NtGdiDeleteObjectApp((HGDIOBJ) hRgn);
}