dpnet: Fix initialisation of This pointer (Coverity).
This commit is contained in:
parent
9ee160cf55
commit
0214ee8ee8
|
@ -65,7 +65,7 @@ static ULONG WINAPI IDirectPlay8ThreadPoolImpl_AddRef(PDIRECTPLAY8THREADPOOL ifa
|
||||||
|
|
||||||
static ULONG WINAPI IDirectPlay8ThreadPoolImpl_Release(PDIRECTPLAY8THREADPOOL iface)
|
static ULONG WINAPI IDirectPlay8ThreadPoolImpl_Release(PDIRECTPLAY8THREADPOOL iface)
|
||||||
{
|
{
|
||||||
IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)This;
|
IDirectPlay8ThreadPoolImpl* This = (IDirectPlay8ThreadPoolImpl*)iface;
|
||||||
ULONG RefCount = InterlockedDecrement(&This->ref);
|
ULONG RefCount = InterlockedDecrement(&This->ref);
|
||||||
|
|
||||||
if(!RefCount)
|
if(!RefCount)
|
||||||
|
|
Loading…
Reference in New Issue