Michael Stefaniuc : dplayx: Fix the initial refcount of the IDPLobbySPImpl object.
Alexandre Julliard
julliard at winehq.org
Thu Sep 5 13:28:18 CDT 2013
Module: wine
Branch: master
Commit: b9a2efdf2419c359cf3f60e31615deb87b5849cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b9a2efdf2419c359cf3f60e31615deb87b5849cc
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Sep 4 23:45:28 2013 +0200
dplayx: Fix the initial refcount of the IDPLobbySPImpl object.
---
dlls/dplayx/lobbysp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dplayx/lobbysp.c b/dlls/dplayx/lobbysp.c
index 72198da..3528f94 100644
--- a/dlls/dplayx/lobbysp.c
+++ b/dlls/dplayx/lobbysp.c
@@ -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 );
More information about the wine-cvs
mailing list