Commit bc72f996 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

gdi32: Always use a HANDLE for GDI_ReleaseObj.

parent 56245243
......@@ -1445,7 +1445,7 @@ WORD WINAPI SetHookFlags( HDC hdc, WORD flags )
else if (flags & DCHF_VALIDATEVISRGN || !flags)
ret = InterlockedExchange( &dc->dirty, 0 );
GDI_ReleaseObj( dc );
GDI_ReleaseObj( hdc );
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