commit | 024e8812302bdcd569c1c7a41a7d9f3e76a2c747 | [log] [tgz] |
---|---|---|
author | Andreas Mohr <a.mohr@mailto.de> | Fri Aug 25 21:30:34 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Aug 25 21:30:34 2000 +0000 |
tree | 59d3e33e419cdf8f217590a8ac1d6526c8a82584 | |
parent | 8328a9d67dd608c074ac7c7ccee042bb939fe766 [diff] [blame] |
GetObjectA: unlock the object again even in case of failure.
diff --git a/objects/gdiobj.c b/objects/gdiobj.c index a94cd15..db559ea 100644 --- a/objects/gdiobj.c +++ b/objects/gdiobj.c
@@ -650,7 +650,7 @@ default: ERR("Invalid GDI Magic %04x\n", ptr->wMagic); - return 0; + break; } GDI_ReleaseObj( handle ); return result;