Commit 9c4d30ad authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

shell32: Fix memory leak on error path in FolderItems_Constructor (scan-build).

parent e6229b52
...@@ -1682,6 +1682,7 @@ static HRESULT FolderItems_Constructor(FolderImpl *folder, FolderItems **ret) ...@@ -1682,6 +1682,7 @@ static HRESULT FolderItems_Constructor(FolderImpl *folder, FolderItems **ret)
return S_OK; return S_OK;
failed: failed:
FolderItemsImpl_Release(&This->FolderItems3_iface);
if (enumidlist) if (enumidlist)
IEnumIDList_Release(enumidlist); IEnumIDList_Release(enumidlist);
return hr; return hr;
......
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