avifil32: Add a missing AddRef in IGetFrame_QueryInterface().
This commit is contained in:
parent
f884cf0ddf
commit
5e56845546
|
@ -140,6 +140,7 @@ static HRESULT WINAPI IGetFrame_fnQueryInterface(IGetFrame *iface,
|
|||
if (IsEqualGUID(&IID_IUnknown, refiid) ||
|
||||
IsEqualGUID(&IID_IGetFrame, refiid)) {
|
||||
*obj = iface;
|
||||
IGetFrame_AddRef(iface);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue