Author: gadamopoulos
Date: Fri Oct 31 22:30:21 2014
New Revision: 65160

URL: http://svn.reactos.org/svn/reactos?rev=65160&view=rev
Log:
[SHELL32]
- Do not release the pointer to the ShellView that was just created 
- Fixes a crash when showing the Printers shell folder

Modified:
    branches/shell-experiments/dll/win32/shell32/folders/printers.cpp

Modified: branches/shell-experiments/dll/win32/shell32/folders/printers.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/shell32/folders/printers.cpp?rev=65160&r1=65159&r2=65160&view=diff
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/folders/printers.cpp   
[iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/folders/printers.cpp   
[iso-8859-1] Fri Oct 31 22:30:21 2014
@@ -430,7 +430,6 @@
         if (pShellView)
         {
             hr = pShellView->QueryInterface(riid, ppvOut);
-            pShellView->Release();
         }
     }
     TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);


Reply via email to