Fixed memory leak
This commit is contained in:
4403
propertyGrid.c
4403
propertyGrid.c
File diff suppressed because it is too large
Load Diff
@@ -1972,6 +1972,7 @@ static LPITEMIDLIST ConvertPathToLpItemIdList(LPTSTR pszPath)
|
|||||||
pDesktopFolder->ParseDisplayName(NULL, NULL, pwzPath, &chEaten, &pidl, &dwAttributes);
|
pDesktopFolder->ParseDisplayName(NULL, NULL, pwzPath, &chEaten, &pidl, &dwAttributes);
|
||||||
pDesktopFolder->Release();
|
pDesktopFolder->Release();
|
||||||
}
|
}
|
||||||
|
delete pwzPath;
|
||||||
return pidl;
|
return pidl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user