mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
windowscodecs: Account for a NULL pceltFetched in ComponentEnum_Next.
This commit is contained in:
parent
6487f3397a
commit
645f7c6208
@ -817,7 +817,8 @@ static HRESULT WINAPI ComponentEnum_Next(IEnumUnknown *iface, ULONG celt,
|
||||
This->cursor = list_next(&This->objects, This->cursor);
|
||||
}
|
||||
LeaveCriticalSection(&This->lock);
|
||||
*pceltFetched = num_fetched;
|
||||
if (pceltFetched)
|
||||
*pceltFetched = num_fetched;
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user