Author: dquintana
Date: Wed Mar 5 12:34:30 2014
New Revision: 62429
URL:
http://svn.reactos.org/svn/reactos?rev=62429&view=rev
Log:
[RSHELL]
* CMenuSFToolbar: Keep the m_shellFolder pointer in a CComPtr, so that it doesn't get
deleted and possibly reused for something else.
CORE-7586
Modified:
branches/shell-experiments/base/shell/rshell/CMenuToolbars.h
Modified: branches/shell-experiments/base/shell/rshell/CMenuToolbars.h
URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
==============================================================================
--- branches/shell-experiments/base/shell/rshell/CMenuToolbars.h [iso-8859-1] (original)
+++ branches/shell-experiments/base/shell/rshell/CMenuToolbars.h [iso-8859-1] Wed Mar 5
12:34:30 2014
@@ -120,7 +120,7 @@
public CMenuToolbarBase
{
private:
- IShellFolder * m_shellFolder;
+ CComPtr<IShellFolder> m_shellFolder;
LPCITEMIDLIST m_idList;
HKEY m_hKey;