mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
urlmon: If we are using an internal protocol ClassFactory, call its AddRef as the caller must Release the object.
This commit is contained in:
parent
d01c697eb9
commit
414ddfa671
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ HRESULT get_protocol_handler(LPCWSTR url, CLSID *clsid, IClassFactory **ret)
|
|||
ns = find_name_space(schema);
|
||||
if(ns) {
|
||||
*ret = ns->cf;
|
||||
IClassFactory_AddRef(*ret);
|
||||
if(clsid)
|
||||
*clsid = ns->clsid;
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue