[SHELL32]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 31 Oct 2014 22:30:21 +0000 (22:30 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 31 Oct 2014 22:30:21 +0000 (22:30 +0000)
- 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

dll/win32/shell32/folders/printers.cpp

index 689434b..5ea8557 100644 (file)
@@ -430,7 +430,6 @@ HRESULT WINAPI CPrinterFolder::CreateViewObject(HWND hwndOwner, REFIID riid, LPV
         if (pShellView)
         {
             hr = pShellView->QueryInterface(riid, ppvOut);
-            pShellView->Release();
         }
     }
     TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);