[shell32]

- Fix a couple of bugs I introduced in latest commit

svn path=/trunk/; revision=60945
This commit is contained in:
Giannis Adamopoulos 2013-11-11 17:49:30 +00:00
parent af7bc02893
commit 52f2ffa3e3

View file

@ -171,7 +171,7 @@ static HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCWSTR pathRoot,
LPCITEMIDLIST pidlChild, REFCLSID clsid, LPVOID * ppvOut)
{
HRESULT hr;
IShellFolder* pShellFolder;
IShellFolder* pShellFolder = NULL;
TRACE ("%p %s %p\n", pidlRoot, debugstr_w(pathRoot), pidlChild);
@ -218,10 +218,11 @@ static HRESULT SHELL32_CoCreateInitSF (LPCITEMIDLIST pidlRoot, LPCWSTR pathRoot,
}
ILFree (pidlAbsolute);
}
TRACE ("-- (%p) ret=0x%08x\n", *ppvOut, hr);
*ppvOut = pShellFolder;
TRACE ("-- (%p) ret=0x%08x\n", *ppvOut, hr);
return hr;
}