- This should fix the dcattr leaked when deleting a DC, See bug 6119.

svn path=/trunk/; revision=51405
This commit is contained in:
James Tabor 2011-04-19 18:18:19 +00:00
parent b307a60502
commit 81a19f5ad5

View file

@ -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");