mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:15:39 +00:00
sapi: Invoke AddRef in mmaudio SetObjectToken.
This commit is contained in:
parent
186d949703
commit
5fccc408c6
|
@ -293,6 +293,7 @@ static HRESULT WINAPI objwithtoken_SetObjectToken(ISpObjectWithToken *iface, ISp
|
|||
if (This->token)
|
||||
return SPERR_ALREADY_INITIALIZED;
|
||||
|
||||
ISpObjectToken_AddRef(token);
|
||||
This->token = token;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue