Commit a16ae2e8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Call AddRef in EnumFORMATETC::QueryInterface.

parent 91087d62
......@@ -44,6 +44,7 @@ static HRESULT WINAPI EnumFORMATETC_QueryInterface(IEnumFORMATETC *iface, REFIID
*ppv = NULL;
if(IsEqualGUID(&IID_IUnknown, riid) || IsEqualGUID(&IID_IEnumFORMATETC, riid)) {
IEnumFORMATETC_AddRef(iface);
*ppv = iface;
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