Commit 5fccc408 authored by Shaun Ren's avatar Shaun Ren Committed by Alexandre Julliard

sapi: Invoke AddRef in mmaudio SetObjectToken.

parent 186d9497
......@@ -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;
}
......
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