Commit ef275bbb authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

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

parent c5648f2b
......@@ -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+
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment