gdi32: Fix possible NULL pointer dereference (Coverity).
This commit is contained in:
parent
4b098028f3
commit
d469eca1c6
|
@ -1448,8 +1448,8 @@ BOOL WINAPI GdiComment(HDC hdc, UINT cbSize, const BYTE *lpData)
|
|||
{
|
||||
if (dc->funcs->pGdiComment)
|
||||
ret = dc->funcs->pGdiComment( dc->physDev, cbSize, lpData );
|
||||
DC_ReleaseDCPtr( dc );
|
||||
}
|
||||
DC_ReleaseDCPtr( dc );
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue