mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[shell32]
- Fix a couple of bugs I introduced in latest commit svn path=/trunk/; revision=60945
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user