Michael Stefaniuc : d3d8: Release the lock instead of locking a second time (Smatch).
Module: wine Branch: master Commit: ebe5219c6bf2bb38a0cef6668618fa49a05b29d3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebe5219c6bf2bb38a0cef66686... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Tue Aug 25 23:52:00 2009 +0200 d3d8: Release the lock instead of locking a second time (Smatch). --- dlls/d3d8/cubetexture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3d8/cubetexture.c b/dlls/d3d8/cubetexture.c index 895f20d..d0b8f72 100644 --- a/dlls/d3d8/cubetexture.c +++ b/dlls/d3d8/cubetexture.c @@ -82,7 +82,7 @@ static HRESULT WINAPI IDirect3DCubeTexture8Impl_GetDevice(LPDIRECT3DCUBETEXTURE8 IWineD3DDevice_GetParent(wined3d_device, (IUnknown **)ppDevice); IWineD3DDevice_Release(wined3d_device); } - wined3d_mutex_lock(); + wined3d_mutex_unlock(); return hr; }
participants (1)
-
Alexandre Julliard