mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 06:37:06 +00:00
- Fix a leakage during DC deletion (introduced in revision 773), spotted by Samuel Serapion.
svn path=/trunk/; revision=32260
This commit is contained in:
parent
29ad9dab05
commit
9791a75ef7
|
@ -997,9 +997,7 @@ IntGdiDeleteDC(HDC hDC, BOOL Force)
|
||||||
{
|
{
|
||||||
NtGdiDeleteObject (DCToDelete->w.hGCClipRgn);
|
NtGdiDeleteObject (DCToDelete->w.hGCClipRgn);
|
||||||
}
|
}
|
||||||
#if 0 /* FIXME */
|
|
||||||
PATH_DestroyGdiPath (&DCToDelete->w.path);
|
PATH_DestroyGdiPath (&DCToDelete->w.path);
|
||||||
#endif
|
|
||||||
|
|
||||||
DC_UnlockDc( DCToDelete );
|
DC_UnlockDc( DCToDelete );
|
||||||
DC_FreeDC ( hDC );
|
DC_FreeDC ( hDC );
|
||||||
|
|
Loading…
Reference in a new issue