- Do not free invalid data.
See MSDN SHBindToParent documentation for details.

svn path=/trunk/; revision=66327
This commit is contained in:
Jérôme Gardou 2015-02-16 22:33:08 +00:00
parent 91ab921a3d
commit b53f6e070e

View file

@ -496,7 +496,6 @@ CStartMenu_Constructor(REFIID riid, void **ppv)
return hr;
StrRetToBuf(&str, pcidlPrograms, szDisplayName, _countof(szDisplayName));
ILFree((LPITEMIDLIST)pcidlPrograms);
ILFree(pidlProgramsAbsolute);
hr = psf->ParseDisplayName(NULL, NULL, szDisplayName, NULL, &pidlPrograms, NULL);