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:
|
default:
|
||||||
ERR("Invalid GDI Magic %04x\n", ptr->wMagic);
|
ERR("Invalid GDI Magic %04x\n", ptr->wMagic);
|
||||||
return 0;
|
break;
|
||||||
}
|
}
|
||||||
GDI_ReleaseObj( handle );
|
GDI_ReleaseObj( handle );
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user