mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[shell32]
- Fix a couple of bugs I introduced in latest commit svn path=/trunk/; revision=60945
This commit is contained in:
parent
af7bc02893
commit
52f2ffa3e3
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue