Michael Stefaniuc : d3d8: Release the lock instead of locking a second time (Smatch).
Alexandre Julliard
julliard at winehq.org
Wed Aug 26 10:44:41 CDT 2009
Module: wine
Branch: master
Commit: ebe5219c6bf2bb38a0cef6668618fa49a05b29d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebe5219c6bf2bb38a0cef6668618fa49a05b29d3
Author: Michael Stefaniuc <mstefani at 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;
}
More information about the wine-cvs
mailing list