mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[WIN32K]
Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825 svn path=/trunk/; revision=63093
This commit is contained in:
parent
011d8212a2
commit
589bd6abe0
1 changed files with 1 additions and 1 deletions
|
@ -236,8 +236,8 @@ GreSetStretchBltMode(HDC hDC, int iStretchMode)
|
|||
if ((iStretchMode <= 0) || (iStretchMode > MAXSTRETCHBLTMODE)) iStretchMode = WHITEONBLACK;
|
||||
|
||||
pdcattr->jStretchBltMode = iStretchMode;
|
||||
DC_UnlockDc(pdc);
|
||||
}
|
||||
DC_UnlockDc(pdc);
|
||||
return oSMode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue