mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +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:
parent
b307a60502
commit
81a19f5ad5
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue