Removed the Release in case of error as we do not AddRef anymore.

This commit is contained in:
Lionel Ulmer 2000-06-12 01:18:35 +00:00 committed by Alexandre Julliard
parent c5648f2be3
commit ef275bbb99
1 changed files with 0 additions and 1 deletions

View File

@ -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+