d3d8: Release the lock instead of locking a second time (Smatch).

This commit is contained in:
Michael Stefaniuc 2009-08-25 23:52:00 +02:00 committed by Alexandre Julliard
parent 7fe9e693a7
commit ebe5219c6b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}