mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
GetObjectA: unlock the object again even in case of failure.
This commit is contained in:
parent
8328a9d67d
commit
024e881230
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user