mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Prevent crash in gdibatch.
svn path=/trunk/; revision=31111
This commit is contained in:
parent
709089678a
commit
9f375e0914
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ GdiFlushUserBatch(HDC hDC, PGDIBATCHHDR pHdr)
|
|||
{
|
||||
PDC dc = NULL;
|
||||
PDC_ATTR Dc_Attr = NULL;
|
||||
if (hDC)
|
||||
if (hDC && !IsObjectDead(hDC))
|
||||
{
|
||||
dc = DC_LockDc(hDC);
|
||||
if (dc)
|
||||
|
|
Loading…
Reference in a new issue