Markus Amsler : d3d: Remove AddRef from IWineD3DDevice_GetDirect3D.
Module: wine Branch: master Commit: 167b83c28af73803462e92ee4dcb1a95f194a74d URL: http://source.winehq.org/git/wine.git/?a=commit;h=167b83c28af73803462e92ee4d... Author: Markus Amsler <markus.amsler(a)oribi.org> Date: Mon Nov 20 10:47:22 2006 +0100 d3d: Remove AddRef from IWineD3DDevice_GetDirect3D. --- dlls/d3d8/device.c | 1 - dlls/d3d9/device.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index 68b0dff..e128930 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -139,7 +139,6 @@ static HRESULT WINAPI IDirect3DDevice8Im if (hr == D3D_OK && pWineD3D != NULL) { IWineD3DResource_GetParent((IWineD3DResource *)pWineD3D,(IUnknown **)ppD3D8); - IWineD3DResource_Release((IWineD3DResource *)pWineD3D); } else { FIXME("Call to IWineD3DDevice_GetDirect3D failed\n"); *ppD3D8 = NULL; diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 349356b..2ebb677 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -101,7 +101,6 @@ HRESULT WINAPI IDirect3DDevice9Impl_Ge if (hr == D3D_OK && pWineD3D != NULL) { IWineD3DResource_GetParent((IWineD3DResource *)pWineD3D,(IUnknown **)ppD3D9); - IWineD3DResource_Release((IWineD3DResource *)pWineD3D); } else { FIXME("Call to IWineD3DDevice_GetDirect3D failed\n"); *ppD3D9 = NULL;
participants (1)
-
Alexandre Julliard