ole32: Handle EnumElements() failure (Coverity).
This commit is contained in:
parent
c2ae34c54d
commit
64456de761
|
@ -2421,7 +2421,12 @@ static HRESULT deleteStorageContents(
|
|||
/*
|
||||
* Enumerate the elements
|
||||
*/
|
||||
IStorage_EnumElements( childStorage, 0, 0, 0, &elements);
|
||||
hr = IStorage_EnumElements(childStorage, 0, 0, 0, &elements);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
IStorage_Release(childStorage);
|
||||
return hr;
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue