Module: wine Branch: master Commit: 0214ee8ee8a2ad72e0919cd64d1d1582f903b9b5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0214ee8ee8a2ad72e0919cd64d...
Author: Kai Blin kai.blin@gmail.com Date: Wed Sep 10 16:35:04 2008 +0200
dpnet: Fix initialisation of This pointer (Coverity).
---
dlls/dpnet/threadpool.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dpnet/threadpool.c b/dlls/dpnet/threadpool.c index 1c53050..1ab045d 100644 --- a/dlls/dpnet/threadpool.c +++ b/dlls/dpnet/threadpool.c @@ -65,7 +65,7 @@ static ULONG WINAPI IDirectPlay8ThreadPoolImpl_AddRef(PDIRECTPLAY8THREADPOOL ifa
static ULONG WINAPI IDirectPlay8ThreadPoolImpl_Release(PDIRECTPLAY8THREADPOOL iface) { - IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)This; + IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)iface; ULONG RefCount = InterlockedDecrement(&This->ref);
if(!RefCount)