Commit 96f7e66c authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

Fixed crash in unixfs shellfolder handling with winamp.

parent 42258c45
......@@ -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);
......
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