Fixed memory leak

This commit is contained in:
andreja6
2018-10-21 19:30:21 -07:00
parent 19f125dcc6
commit aa2e62d2b5
2 changed files with 1 additions and 4403 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1972,6 +1972,7 @@ static LPITEMIDLIST ConvertPathToLpItemIdList(LPTSTR pszPath)
pDesktopFolder->ParseDisplayName(NULL, NULL, pwzPath, &chEaten, &pidl, &dwAttributes);
pDesktopFolder->Release();
}
delete pwzPath;
return pidl;
}