Fixed crash in unixfs shellfolder handling with winamp.

oldstable
Michael Jung 2005-11-01 18:06:18 +00:00 committed by Alexandre Julliard
parent 42258c45be
commit 96f7e66cd5
1 changed files with 5 additions and 0 deletions

View File

@ -583,6 +583,11 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_EnumObjects(IShellFolder2* iface,
TRACE("(iface=%p, hwndOwner=%p, grfFlags=%08lx, ppEnumIDList=%p)\n",
iface, hwndOwner, grfFlags, ppEnumIDList);
if (!This->m_pszPath) {
WARN("EnumObjects called on uninitialized UnixFolder-object!\n");
return E_UNEXPECTED;
}
newIterator = UnixSubFolderIterator_Constructor(This, grfFlags);
hr = IUnknown_QueryInterface(newIterator, &IID_IEnumIDList, (void**)ppEnumIDList);
IUnknown_Release(newIterator);