mirror of
https://github.com/reactos/wine.git
synced 2025-02-13 08:44:54 +00:00
Removed the Release in case of error as we do not AddRef anymore.
This commit is contained in:
parent
c5648f2be3
commit
ef275bbb99
@ -115,7 +115,6 @@ HRESULT WINAPI Xlib_IDirectDrawSurface4Impl_Lock(
|
||||
(lprect->bottom < 0) ||
|
||||
(lprect->right < 0)) {
|
||||
ERR(" Negative values in LPRECT !!!\n");
|
||||
IDirectDrawSurface4_Release(iface);
|
||||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
lpddsd->u1.lpSurface=(LPVOID)((char*)This->s.surface_desc.u1.lpSurface+
|
||||
|
Loading…
x
Reference in New Issue
Block a user