Commit e0883970 authored by David Hemmo's avatar David Hemmo Committed by Alexandre Julliard

GDI_ReleaseObj was not called with the right parameter.

parent d97e2c30
......@@ -1272,7 +1272,7 @@ HGDIOBJ WINAPI SelectObject( HDC hdc, HGDIOBJ hObj )
SetLastError( ERROR_INVALID_HANDLE );
else
{
GDI_ReleaseObj( (GDIOBJHDR *)dc );
GDI_ReleaseObj( hdc );
header = GDI_GetObjPtr( hObj, MAGIC_DONTCARE );
if (header)
......
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