From f48774515c5a9ee49d571bc412bfb60a244088bc Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 31 Oct 2014 22:30:21 +0000 Subject: [PATCH] [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 --- dll/win32/shell32/folders/printers.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/dll/win32/shell32/folders/printers.cpp b/dll/win32/shell32/folders/printers.cpp index 689434b9311..5ea85577b45 100644 --- a/dll/win32/shell32/folders/printers.cpp +++ b/dll/win32/shell32/folders/printers.cpp @@ -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);