avifil32: Add a missing AddRef in IGetFrame_QueryInterface().

This commit is contained in:
Francois Gouget 2009-03-10 12:39:09 +01:00 committed by Alexandre Julliard
parent f884cf0ddf
commit 5e56845546
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}