mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[Win32k]
- This should fix the dcattr leaked when deleting a DC, See bug 6119. svn path=/trunk/; revision=51405
This commit is contained in:
@@ -827,6 +827,8 @@ IntGdiDeleteDC(HDC hDC, BOOL Force)
|
||||
|
||||
if (!IsObjectDead(hDC))
|
||||
{
|
||||
DC_vFreeDcAttr(DCToDelete); // Plug a leak see bug 6119!
|
||||
|
||||
if (!GDIOBJ_FreeObjByHandle(hDC, GDI_OBJECT_TYPE_DC))
|
||||
{
|
||||
DPRINT1("DC_FreeDC failed\n");
|
||||
|
||||
Reference in New Issue
Block a user