Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825

svn path=/trunk/; revision=63093
This commit is contained in:
Timo Kreuzer 2014-05-01 10:51:19 +00:00
parent 011d8212a2
commit 589bd6abe0

View file

@ -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;
}