Author: jgardou
Date: Mon Feb 16 22:33:08 2015
New Revision: 66327
URL:
http://svn.reactos.org/svn/reactos?rev=66327&view=rev
Log:
[RSHELL]
- Do not free invalid data.
See MSDN SHBindToParent documentation for details.
Modified:
trunk/reactos/base/shell/rshell/CStartMenu.cpp
Modified: trunk/reactos/base/shell/rshell/CStartMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/rshell/CStartMe…
==============================================================================
--- trunk/reactos/base/shell/rshell/CStartMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/rshell/CStartMenu.cpp [iso-8859-1] Mon Feb 16 22:33:08 2015
@@ -496,7 +496,6 @@
return hr;
StrRetToBuf(&str, pcidlPrograms, szDisplayName, _countof(szDisplayName));
- ILFree((LPITEMIDLIST)pcidlPrograms);
ILFree(pidlProgramsAbsolute);
hr = psf->ParseDisplayName(NULL, NULL, szDisplayName, NULL, &pidlPrograms,
NULL);