mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:40:51 +00:00
dplayx: Fix the initial refcount of the IDPLobbySPImpl object.
This commit is contained in:
parent
a2ea406eee
commit
b9a2efdf24
|
@ -240,7 +240,7 @@ HRESULT dplobbysp_create( REFIID riid, void **ppv, IDirectPlayImpl *dp )
|
|||
return DPERR_OUTOFMEMORY;
|
||||
|
||||
obj->IDPLobbySP_iface.lpVtbl = &dpLobbySPVT;
|
||||
obj->ref = 0;
|
||||
obj->ref = 1;
|
||||
obj->dplay = dp;
|
||||
|
||||
hr = IDPLobbySP_QueryInterface( &obj->IDPLobbySP_iface, riid, ppv );
|
||||
|
|
Loading…
Reference in a new issue