Commit b9a2efdf authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dplayx: Fix the initial refcount of the IDPLobbySPImpl object.

parent a2ea406e
...@@ -240,7 +240,7 @@ HRESULT dplobbysp_create( REFIID riid, void **ppv, IDirectPlayImpl *dp ) ...@@ -240,7 +240,7 @@ HRESULT dplobbysp_create( REFIID riid, void **ppv, IDirectPlayImpl *dp )
return DPERR_OUTOFMEMORY; return DPERR_OUTOFMEMORY;
obj->IDPLobbySP_iface.lpVtbl = &dpLobbySPVT; obj->IDPLobbySP_iface.lpVtbl = &dpLobbySPVT;
obj->ref = 0; obj->ref = 1;
obj->dplay = dp; obj->dplay = dp;
hr = IDPLobbySP_QueryInterface( &obj->IDPLobbySP_iface, riid, ppv ); hr = IDPLobbySP_QueryInterface( &obj->IDPLobbySP_iface, riid, ppv );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment