gdi32: Always use a HANDLE for GDI_ReleaseObj.

This commit is contained in:
Detlef Riekenberg 2010-08-04 23:32:55 +02:00 committed by Alexandre Julliard
parent 56245243f0
commit bc72f9965d
1 changed files with 1 additions and 1 deletions

View File

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