Commit 024e8812 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

GetObjectA: unlock the object again even in case of failure.

parent 8328a9d6
......@@ -650,7 +650,7 @@ INT WINAPI GetObjectA( HANDLE handle, INT count, LPVOID buffer )
default:
ERR("Invalid GDI Magic %04x\n", ptr->wMagic);
return 0;
break;
}
GDI_ReleaseObj( handle );
return result;
......
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