mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[SHELL32]
- Do not release the pointer to the ShellView that was just created - Fixes a crash when showing the Printers shell folder svn path=/branches/shell-experiments/; revision=65160
This commit is contained in:
parent
827930cde2
commit
f48774515c
1 changed files with 0 additions and 1 deletions
|
@ -430,7 +430,6 @@ HRESULT WINAPI CPrinterFolder::CreateViewObject(HWND hwndOwner, REFIID riid, LPV
|
||||||
if (pShellView)
|
if (pShellView)
|
||||||
{
|
{
|
||||||
hr = pShellView->QueryInterface(riid, ppvOut);
|
hr = pShellView->QueryInterface(riid, ppvOut);
|
||||||
pShellView->Release();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);
|
TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue