Commit d469eca1 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdi32: Fix possible NULL pointer dereference (Coverity).

parent 4b098028
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment