dplayx: Fix the initial refcount of the IDPLobbySPImpl object.

This commit is contained in:
Michael Stefaniuc 2013-09-04 23:45:28 +02:00 committed by Alexandre Julliard
parent a2ea406eee
commit b9a2efdf24

View file

@ -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 );